On 15 Dec 2004 20:35:55 -0800,
up******@gmail.com (Upendra) wrote in
comp.lang.c:
Can any body explain me about the exact sequence of operations that
takes place when a function call takes place. Consider all cases like
functions with no return values and one or more retun values(directly
or indirectly) and functions with different types of formal arguments
passed.
Homework?
Such a detailed description would be far too large for a usenet post,
perhaps you should get a copy of the C language standard or a good
reference book on C.
Your terminology is wrong. Functions in C don't have "one or more
return values", either directly or indirectly. They may have exactly
zero or one return values. The concepts of "indirectly" returning
values does not exist in the C language, although that may be
appropriate in a higher level concept.
And formal arguments are never passed to functions.
--
Jack Klein
Home:
http://JK-Technology.Com
FAQs for
comp.lang.c
http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++
http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html