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 ++().

No comments: