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



Subscribe to Tutorials

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. Many thanks for this tutorial - it has saved me so
View Tutorial          By: Ehsan at 2011-11-20 23:12:21

2. Thanks for this section. Clears most of my doubts.
View Tutorial          By: Melvin at 2008-07-05 04:54:19

3. i cannot add attachment
its saying
&

View Tutorial          By: Rintu Das at 2012-05-04 18:07:48

4. Thanks for this. I was checking and double checkin
View Tutorial          By: Alex at 2011-07-10 09:03:56

5. Assume scenario:
- i have set connection po

View Tutorial          By: Dan at 2012-02-22 09:48:46

6. Hello to Every one!! :-),HERE I'AM NOT WRITING A C
View Tutorial          By: Pulkit Malviya at 2012-08-26 14:56:18

7. this article is very good for the beginners. I am
View Tutorial          By: manoj kumar palbabu at 2009-12-02 10:44:04

8. This is the help full sites for diploma student
View Tutorial          By: Tanuja at 2013-08-11 09:41:55

9. How to sort an Arraylist in some given order? Say,
View Tutorial          By: Arunava Chatterjee at 2015-03-07 04:17:51

10. thnks lot 4 helping me
View Tutorial          By: sandeep dudi at 2011-11-17 06:06:03