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 / ranjeet garodia

Pre increment operator is use the concept of value by
reference that means it increment the actual object.

While post increment use call by value concept that is it
create the local object, operate on that, then it will
increment actual object, so takes time to create local
object

Is This Answer Correct ?    10 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is the best c++ compiler for beginners?

1154


Can non graphic characters be used and processed in C++?

1244


Do inline functions improve performance?

1130


What are guid? Why does com need guids?

1107


Define a pointer to a data member of the type pointer to pointer?

1034


Can we specify variable field width in a scanf() format string? If possible how?

1349


the maximum length of a character constant can be a) 2 b) 1 c) 8

1144


What do you mean by funtion prototype?

1145


Difference between declaration and definition of a variable.

1225


Why is c++ still used?

1133


What is singleton pattern in c++?

1045


Can a constructor return a value?

1345


Explain binary search.

1036


How a new operator differs from the operator new?

1181


What do you mean by ‘void’ return type?

1101