Why n++ executes faster than n+1?

Why n++ executes faster than n+1?

n++ executes faster than n+1 because n++ want only one instruction for execution where n+1 want more one instruction for execution. 

By:Vivek Kr. Agarwal
Date:2008-01-09 00:00:00

It(n+1) creates extra memory for adding. Where as n++ refers to same memory.

By:Deepa
Date:2024-11-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher