GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  IBM  >  Technical
Go To First  |  Previous Question  |  Next Question 
 Technical  |  Question 93 of 98    Print  
Is the following program is correct ?
void main()
{ printf(\
yes, since main in printf prints the address of the main in the memory of that program


  
Total Answers and Comments: 4 Last Update: October 09, 2008     Asked by: pvpfirst 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
January 11, 2006 14:27:01   #1  
ankitsays9 Member Since: January 2006   Contribution: 62    

RE: Is the following program is correct ?void ma...
no
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
September 13, 2006 08:33:46   #2  
Girish.T Member Since: September 2006   Contribution: 1    

RE: Is the following program is correct ?void ma...
no
 
Is this answer useful? Yes | No
June 28, 2007 12:43:25   #3  
kedar        

RE: Is the following program is correct ?void ma...
output comes out to be zero(0)
 
Is this answer useful? Yes | No
October 09, 2008 11:47:44   #4  
vmpstr Member Since: October 2008   Contribution: 1    

RE: Is the following program is correct ?void main(){ printf(
No

According to the C standard main has to return int.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape