0_0_15176595_31787.cpp:6:1: error: missing terminating " character
printf("sum is %d\n,sum);
^
0_0_15176595_31787.cpp:3:2: error: expected primary-expression before 'int'
[int a,b sum;
^
0_0_15176595_31787.cpp:3:2: error: expected ']' before 'int'
0_0_15176595_31787.cpp:4:1: error: 'a' does not name a type
a=i b=1;
^
0_0_15176595_31787.cpp:5:1: error: 'sum' does not name a type
sum=a=b;
^
0_0_15176595_31787.cpp:6:7: error: expected constructor, destructor, or type conversion before '(' token
printf("sum is %d\n,sum);
^
0_0_15176595_31787.cpp:8:1: error: expected declaration before '}' token
}
^
|