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
What is input operator in c++?
What is jump statement in C++?
What is c++ iterator?
Name the debugging methods that are used to solve problems?
Which is best c++ or java?
Where are setjmp and longjmp used in c++?
How can you quickly find the number of elements stored in a dynamic array?
What are advantages of c++?
Describe delete operator?
What does extern mean in a function declaration in c++?
Which bitwise operator is used to check whether a particular bit is on or off?
What are stacks? Give an example where they are useful.
What is scope in c++ with example?
Can I run c program in turbo c++?
what is the difference between overloading & overriding? give example.