Can a simple printf statement uses the stack memory in C lan

Status
Not open for further replies.

rameshbabu

Member level 2
Joined
Aug 1, 2007
Messages
46
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,663
C

Can a simple printf statement uses the stack memory in C language.
 

Re: C

i think it won't take space...
 

C

The arguments are passed on the stack and the stack is used during function execution.
The printf is quite a large library routine that is linked in to your code if you call it.
 

Re: C

No in one word;....i think u asked in sense of stack variable.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…