Comment on Tutorial - Demonstration of Prefix and Postfix operators in C++ By Emiley J



Comment Added by : Amit Goyal

Comment Added at : 2009-09-25 05:33:10

Comment on Tutorial : Demonstration of Prefix and Postfix operators in C++ By Emiley J
Thanks for the above description, but pls let me know the output of the following program and how it came.

#define mul(x) x * x

int main()
{
int i=3;
printf("%d \n", mul(++i));
printf("%d", i);
return(0);
}


View Tutorial



Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Good one
View Tutorial          By: Soumya Anoop at 2010-05-13 23:23:44

2. this site is good, can anyone plz suggest me how t
View Tutorial          By: Prithvi at 2008-08-27 01:09:56

3. Why the output list in the wrong order?
View Tutorial          By: Pavel at 2013-02-23 12:05:02

4. Thanks a lot .. Great work!!
View Tutorial          By: MonamAlwerfally at 2013-03-26 14:41:29

5. Thanks for the help, however I am having some diff
View Tutorial          By: Andrew at 2008-09-30 14:51:14

6. Hi Shiva,
Comparator interface is used to o

View Tutorial          By: Srinath at 2015-04-19 08:23:20

7. The actual code to write F2 is:
f2.write(bu

View Tutorial          By: João at 2012-04-11 19:22:14

8. I used the script above, and it seems to work exce
View Tutorial          By: Michael at 2012-05-15 20:50:49

9. I have a squid proxy installed as forward proxy an
View Tutorial          By: ruffy at 2012-12-20 12:34:15

10. it 's great
View Tutorial          By: tanawat bhtk at 2008-03-19 22:17:53