While coding in C, I came across the below situation.
int function () { if (!somecondition) return false; internalStructure *str1; internalStructure *str
If you declare variables after if statement and returned from the function immediately the compiler does not commitment memory in the stack.