When a 'C' function call is made, the order in which parameters passed to the function are pushed into the stack isa) left to rightb) right to leftc) bigger variables are moved first than the smaller variables.d) Smaller variables are moved first than the bigger ones.e) None of the above.

(b)
This question is related to Axes-Technologies Interview

Showing Answers 1 - 6 of 6 Answers

Jasvant Singh

  • Jan 23rd, 2007
 

It is compiler dependent.  Most of the time all compilers on same platform follows same scheme but it is not defined by ANSI standard. In SPARC processor machines parameters are passed in registers rather then stack.

e) None of the above.

  Was this answer useful?  Yes

sivajyothi

  • Nov 4th, 2012
 

b) right to left

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions