What is the output of the following code?Main(){printf ("%u",main); }

Showing Answers 1 - 2 of 2 Answers

isha chauhan

  • Mar 22nd, 2006
 

like an array has a base address each function has some address

%u specifies that the argument being passed is an address,so  the printf statement will printf the address of the function main()

  Was this answer useful?  Yes

manita

  • Sep 1st, 2006
 

it will print of the main() until stack is overflow

  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