GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  OOPS

 Print  |  
Question:  could any one explan me what happens in this program.

main(){
int i=10;
i=(++i)/(i++);
printf("i=%d",i);
}




May 05, 2006 00:39:21 #1
 Umme Zakira   Member Since: Visitor    Total Comments: N/A 

RE: could any one explan me what happens in this progr...
 
the value of i in the given program is 2
     

 

Back To Question