Which is faster post increment or pre increment ? and in
which cases should u use either - to increase speed?
Answer Posted / mms zubeir
The above answer seems to be correct but for normal cases
also the behavior is as explained, it is not only for
overloaded case.
A little deeper, since a temporary object is introduced to
swap older and newer values, extra copying is required
which swallow its own CPU time. So the post increment
operator is a bit slower.
But this difference is feeble.
Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
Explain the advantages of inheritance.
What is destructor give example?
Which is not an object oriented programming language?
What is a null tree?
Why multiple inheritance is not possible?
What is abstraction and encapsulation?
What is difference between multiple inheritance and multilevel inheritance?
#include
What is a superclass in oop?
Which language is not a true object oriented programming language?
Which method cannot be overridden?
What is abstraction in oops?
What is basic concept of oop?
What are the components of marker interface?
i got a backdoor offer in process global,Bangalore..Can i work with it?