[ create a new paste ] login | about

Link: http://codepad.org/tolVAt92    [ raw code | output | fork ]

C, pasted on Jun 2:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "stdio.h"

#define POW2(x) ((x)*(x))

int main()
{
	int y = 3;
	int x = POW2(++y);	

	printf("%d\n", x);

	return 0;
}


Output:
1
25


Create a new paste based on this one


Comments: