View Code of Problem 1

#include<stdio.h>
main()
{printf(A+B);
}
/*
Main.c:2:1: warning: return type defaults to 'int'
 main()
 ^
Main.c: In function 'main':
Main.c:3:9: error: 'A' undeclared (first use in this function)
 {printf(A+B);
         ^
Main.c:3:9: note: each undeclared identifier is reported only once for each function it appears in
Main.c:3:11: error: 'B' undeclared (first use in this function)
 {printf(A+B);
           ^
*/

Double click to view unformatted code.


Back to problem 1