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  >  Placement Papers  >  CTS

 Print  |  
Question:  Why Result is Different for
1)
int x=5;
int y;
y=++x + ++x + ++x
2)
int x=5;
int y=++x + ++x + ++x




February 02, 2007 12:47:45 #2
 Remi   Member Since: Visitor    Total Comments: N/A 

RE: Why Result is Different for1)int x=5;
 
How does it sum up to 24?
     

 

Back To Question