[ create a new paste ] login | about

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

C++, pasted on Jan 14:
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#define max 10+2

int main() {

int i;


i = max*max;
printf("%d\n", i);
return 0:
}


Output:
1
2
3
In function 'int main()':
Line 11: error: expected ';' before ':' token
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: