View Code of Problem 1

#include<stdio.h>
int main ()
{
  int a,b,c;
  printf("input a and b");
  scanf("%d,%d",&a,&b);
  c=a+b;
  printf("a+b=%d",c);
  return o;
}
/*
Main.c: In function 'main':
Main.c:9:10: error: 'o' undeclared (first use in this function)
   return o;
          ^
Main.c:9:10: note: each undeclared identifier is reported only once for each function it appears in
*/

Double click to view unformatted code.


Back to problem 1