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

What is low level language in simple words?

978


Explain what you mean by a pointer.

1056


Distinguish between a # include and #define.

1083


How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?

2276


What is implicit pointer in c++?

1036


Can we make copy constructor private in c++?

1012


Explain the different access specifiers for the class member in c++.

937


How are pointers type-cast?

1064


What operator is used to access a struct through a pointer a) >> b) -> c) *

1058


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

1009


Explain stack & heap objects?

995


Can you please explain the difference between static and dynamic binding of functions?

974


Can member data be public?

995


What is a node class in c++?

1028


How do you find out if a linked-list has an end?

1069