How are postfix and prefix versions of operator++ , C/C++ Programming

How are postfix and prefix versions of operator++ () differentiated?

A: The postfix version of operator++ () contain a dummy parameter of type int. The prefix version does not contain dummy parameter.

 

Posted Date: 3/20/2013 3:42:03 AM | Location : United States







Related Discussions:- How are postfix and prefix versions of operator++ , Assignment Help, Ask Question on How are postfix and prefix versions of operator++ , Get Answer, Expert's Help, How are postfix and prefix versions of operator++ Discussions

Write discussion on How are postfix and prefix versions of operator++
Your posts are moderated
Related Questions
A: In C++ a struct is alike to a class except for the default access specifier( refer to other question in the document). In C we ought to include the struct keyword while declarin

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Can I explicitly call a destructor if I've allocated my object with new?

write a programme that allows a user to enter 5 distinct words and returns them as a single string

Many modern cryptography algorithms require two numbers that are coprime, or sometimes referred to as relatively prime. Two numbers are coprime if their greatest common divisor is


I need Computer application/program. Project Description:                                                                I want a project done. It is a computer desktop appli

c | c-c-c-c-c | c-c-C-c-c | c find distance between difftent carbon atom by programing

# include stdio.h> # include conio.h> # include math.h>   void main () { int a=1,sqr=0,cube=0; clrscr (); while (a { sqr=pow(a,2); cube=pow(a,3);

An anagram is a type of word play, the result of rearranging the letters of a word or phrase to produce a new word or phrase. For example the anagram of tea is tea, tae, eat, eta,