GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Wipro  >  Technical
Go To First  |  Previous Question  |  Next Question 
 Technical  |  Question 63 of 157    Print  
What is the output of the program?
main()
{
char a='123'
printf ("%c n",a);
return 0;
}

A. ASCII value of 121
B. 1
C. 3
D. none of these


  
Total Answers and Comments: 2 Last Update: May 08, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 18, 2005 02:51:35   #1  
Suhas Member Since: November 2005   Contribution: 24    

RE: What is the output of the program?main()
D
 
Is this answer useful? Yes | No
May 07, 2006 21:08:49   #2  
sanooj        

RE: What is the output of the program?main()

ans -D

reason- character constant must be one or two characters long ........therefore an error will be reported.....


 
Is this answer useful? Yes | No

 Related Questions