0_0_26479235_16807.cpp:4:1: error: expected primary-expression before 'int'
int a,b,c;
^
0_0_26479235_16807.cpp:4:1: error: expected '}' before 'int'
0_0_26479235_16807.cpp:4:1: error: expected ',' or ';' before 'int'
0_0_26479235_16807.cpp:5:6: error: expected constructor, destructor, or type conversion before '(' token
scanf("%d %d",&a,&b);
^
0_0_26479235_16807.cpp:6:1: error: 'c' does not name a type
c=a+b;
^
0_0_26479235_16807.cpp:7:7: error: expected constructor, destructor, or type conversion before '(' token
printf("%d",c);
^
0_0_26479235_16807.cpp:9:1: error: expected unqualified-id before 'return'
return 0;
^
0_0_26479235_16807.cpp:10:1: error: expected declaration before '}' token
}
^
|