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 are the iterator and generic algorithms.

1987


What is c++ best used for?

1098


Write about the access privileges in c++ and also mention about its default access level?

1125


What do you mean by static variables?

1227


Why c++ is created?

1048


what is a reference variable in C++?

1283


Explain how an exception handler is defined and invoked in a Program.

1221


Write about c++ storage classes?

1247


What is the use of endl in c++ give an example?

1212


What is a multiset c++?

1204


What are the differences between new and malloc?

1197


What does std mean in c++?

1191


Array base access faster or pointer base access is faster?

2352


what is Loop function? What are different types of Loops?

1273


Describe the advantage of an external iterator.

1078