GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Wipro  >  Technical
Go To First  |  Previous Question  |  Next Question 
 Technical  |  Question 7 of 157    Print  
What is the output of the program?
int *p, i==4;
p==&I
(*p)++
printf("%d",p);


  
Total Answers and Comments: 5 Last Update: September 04, 2007   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 12, 2005 03:31:03   #1  
DEVANSH PIPARIA        

RE: What is the output of the program? int *p, i==4; p==&I (*p)++ printf("%d",p);
ans is 5
 
Is this answer useful? Yes | No
March 18, 2006 17:02:26   #2  
Karthik Palanisamy        

RE: What is the output of the program?
int *p, i==4;
p==&I
(*p)++
printf("

Compile time Error...
 
Is this answer useful? Yes | No
March 22, 2006 04:44:06   #3  
sanaj rout        

RE: What is the output of the program?int *p, i...

ANS : > it w'll not give the correct answer...its COMPILER dependent...

or some times it w';; give u the SEGMENTATION FAULT


 
Is this answer useful? Yes | No
June 18, 2006 13:01:42   #4  
purani86 Member Since: June 2006   Contribution: 10    

RE: What is the output of the program?int *p, i...
compile time error.Inot assigned
 
Is this answer useful? Yes | No
September 04, 2007 02:11:30   #5  
yash555        

RE: What is the output of the program?int *p, i...
The compiler will give an error undefined symbol I .
 
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