1.

How many types are there in increment/decrement operator?(a) 1(b) 2(c) 3(d) 4I got this question in an internship interview.My doubt stems from Increment and Decrement in chapter Source Files, Classes and Operator Overloading in C++ of C++

Answer»

Right answer is (b) 2

To EXPLAIN: There are two TYPES of increment/decrement. They are postfix and PREFIX.



Discussion

No Comment Found

Related InterviewSolutions