All IT and Non IT Interview Questions, MCQs, Online Quiz Questions, Engineering VIVA Questions
Home » Unlabelled » What is the difference between prefix and postfix versions of operator++()? | C++
Wednesday, 18 April 2012
What is the difference between prefix and postfix versions of operator++()? | C++
The prefix and postfix versions of operator ++() can be differentiated on the basis of arguments defined. The postfix operator ++() consists of a dummy parameter of int datatype; whereas, a dummy parameter is not found in the prefix operator ++().
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment