View Code of Problem 1

int a=1;
int b=1;
printf("%d",a+b);
/*
Main.c:3:8: error: expected declaration specifiers or '...' before string constant
 printf("%d",a+b);
        ^~~~
Main.c:3:13: error: expected declaration specifiers or '...' before 'a'
 printf("%d",a+b);
             ^
*/

Double click to view unformatted code.


Back to problem 1