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. Thanks friend this code will really help me

View Tutorial          By: Anonymous at 2009-05-04 20:16:58

2. Thanks for the code.

But I m having

View Tutorial          By: Mudassir at 2009-04-14 07:00:53

3. very good
View Tutorial          By: Deepika at 2012-03-26 07:00:29

4. Nice guidelines which provide to understand struts
View Tutorial          By: harshal patel at 2010-08-13 04:59:16

5. this code should be commented I mean a lot of comm
View Tutorial          By: mmmm at 2012-03-31 00:44:41

6. realy it was a nice basic example...and better def
View Tutorial          By: amit kumar at 2011-03-14 08:11:31

7. I need a payroll system program in c++ using class
View Tutorial          By: tesfay at 2012-01-19 12:08:55

8. What is the difference between an Interface and an
View Tutorial          By: RAJA at 2015-06-26 17:28:31

9. Wow! Thank you!
View Tutorial          By: David at 2013-04-24 15:52:45

10. Hii I m Ravi. This is a good example.
Here

View Tutorial          By: Ravi at 2011-02-17 09:09:06