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

Define copy constructor.

1180


Explain the properties and principles of oop.

1068


Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;

2053


What are the differences between new and malloc?

1202


What is private inheritance?

1144


What is prototype in c++ with example?

1233


Define macro.

1138


Why is polymorphism useful?

1108


What does catch(…) mean?

1171


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

1148


How would you obtain segment and offset addresses from a far address of a memory location?

1135


What is a float in c++?

1032


Why do we use using namespace std in c++?

1127


What is c++ try block?

1089


What are the basics of local (auto) objects?

1190