Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Why preincrement operator is faster than postincrement?

Answer Posted / shakti singh khinchi

Because post increment operator uses a temporary variable to
store the incremented value for a variable until it is used
in the next executed statement, whereas pre increment
operator not using any temp variable, it is just increase
that value at the time of execution using reference.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by a delegate?

1034


Define upcasting.

988


Do you know what is overriding?

1103


In a function declaration what does extern means?

984


What is the difference between an array and a list?

980


What is function overloading c++?

1023


What are c++ redistributables?

981


Explain linked list using c++ with an example?

1023


What is split a string in c++?

1130


What can I use instead of namespace std?

1076


What is type of 'this' pointer? Explain when it is get created?

971


What it is and how it might be called (2 methods).

1096


What is the difference between a declaration and a definition?

1044


Why cstdlib is used in c++?

998


How is data hiding achieved in c++?

1029