Thu Nov 13, 2008 1:51 pm
#include <stdio.h>
int main()
{
int m = 10;
int n = 5;
m *= n - 3;
printf("%d\n", m);
n = ++m;
printf("%d %d\n", n, m);
n = m++;
printf("%d %d\n", n, m);
n = --m;
printf("%d %d\n", ++n, m);
n = m;
m--;
--n;
printf("%d %d\n", n, m);
}
++x: Returns the new value of x.
x++: Returns the old value of x.
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.