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  >  Interview Questions  >  Programming  >  C

 Print  |  
Question:  Does ++p faster than p++?



July 07, 2008 04:53:13 #1
 decentswati   Member Since: July 2008    Total Comments: 1 

RE: Does ++p faster than p++?
 

++p is faster as the implementation of p++ will have extra execution cycles for returning the previous memory location reference in addition to the incrementing of value.

     

 

Back To Question