0_0_15152987_20727.cpp:6:1: error: stray '\' in program
printf(%d\n,sum);
^
0_0_15152987_20727.cpp: In function 'int main()':
0_0_15152987_20727.cpp:3:8: error: expected initializer before 'B'
{int A B;
^
0_0_15152987_20727.cpp:4:15: error: 'A' was not declared in this scope
scanf("%d%d",&A,&B);
^
0_0_15152987_20727.cpp:4:18: error: 'B' was not declared in this scope
scanf("%d%d",&A,&B);
^
0_0_15152987_20727.cpp:5:1: error: 'sum' was not declared in this scope
sum=A+B;
^
0_0_15152987_20727.cpp:6:8: error: expected primary-expression before '%' token
printf(%d\n,sum);
^
0_0_15152987_20727.cpp:6:9: error: 'd' was not declared in this scope
printf(%d\n,sum);
^
|