AllenHe Messages 74 Reaction score 0 Thread starter Jan 9, 2012 #1 Can anyone explain to me how are the parameter passed on to the function in C++?
CompuChip Science Advisor Homework Helper Messages 4,305 Reaction score 49 Jan 10, 2012 #2 Do you mean this? Code: void f(int x) { ... } // ... f(3); // ... Or are you asking how it works with the stack and all that?
Do you mean this? Code: void f(int x) { ... } // ... f(3); // ... Or are you asking how it works with the stack and all that?
AllenHe Messages 74 Reaction score 0 Jan 13, 2012 #3 Yes. But I already got the solution from somewhere else.Thanks anyway.