0_0_13122161_13318.cpp: In function 'int main()': 0_0_13122161_13318.cpp:7:9: error: 'sum' was not declared in this scope sum=a+b; ^ 0_0_13122161_13318.cpp:9:19: error: 'sum' was not declared in this scope printf("%d\n",sum); ^