1.

Pick out the correct statement.(a) Pre Increment is faster than post-increment(b) post-increment is faster than Pre Increment(c) pre increment is slower than post-increment(d) pre decrement is slower than post-incrementThe question was asked in quiz.The question is from Increment and Decrement topic in chapter Source Files, Classes and Operator Overloading in C++ of C++

Answer»

Correct option is (a) PRE Increment is FASTER than post-increment

To EXPLAIN I would say: Because Pre Increment take one-byte INSTRUCTION & post increment TAKES two-byte instruction.



Discussion

No Comment Found

Related InterviewSolutions