View Code of Problem 1

#include<stdio.h>
int main()
{
  int a=A;
    int b=B;
    x=a+b;
    printf(x);
  return 0;
}
/*
Main.c: In function 'main':
Main.c:4:9: error: 'A' undeclared (first use in this function)
   int a=A;
         ^
Main.c:4:9: note: each undeclared identifier is reported only once for each function it appears in
Main.c:5:11: error: 'B' undeclared (first use in this function)
     int b=B;
           ^
Main.c:6:5: error: 'x' undeclared (first use in this function)
     x=a+b;
     ^
*/

Double click to view unformatted code.


Back to problem 1