0_0_33200981_28361.cpp: In function 'int main()':
0_0_33200981_28361.cpp:5:15: error: expected ',' or ';' before '=' token
int SUM(0)=0;
^
0_0_33200981_28361.cpp:11:18: error: 'SUM' cannot be used as a function
SUM(i)=SUM(0)+i;
^
0_0_33200981_28361.cpp:11:25: error: 'SUM' cannot be used as a function
SUM(i)=SUM(0)+i;
^
0_0_33200981_28361.cpp:13:30: error: 'SUM' cannot be used as a function
printf("%d\n\n",SUM(n));
^
|