Home » Programming Tips & Tricks » C - Tips & Tricks

C - Pre-Increment is faster than post-increment



By: IncludeHelp, on 21 JAN 2017

We already know that there are two kinds of unary operators which are used to increase a value by 1. Pre-Increment and Post-Increment.

Pre-increment is faster than post-increment because post increment keeps a copy of previous (existing) value and adds 1 in the existing value while pre-increment is simply adds 1 without keeping the existing value.






Was this page helpful? YES NO

Are you a blogger? Join our Blogging forum.



Comments and Discussions


We are using Google to publish ads on our website; Google has its own privacy policies. They may save log, cookies on your system. Google may also collect information of your system like IP address, region, city, country. For more details please go through the Google’s privacy policy.