In C and C++, the calling convention is backwards, i.e. the variable declared last will be pushed into the stack first.
Following example shows the call stack of a function void funct(int i, int j) written in C/C++.
return address of funct()
code address of next to call
You have viewed 1 page out of 248. Your C learning is 0.00% complete. Login to check your learning progress.