View Code of Problem 1

#include  <stdio.h>
#include  <stdlib.h>
#include  <math.h>
#include  <string.h>


int main()
{
	int a,b;
	scanf("%d %d",&a,&b);
	printf("%d\n",a+b+c);
    return 0;
}
/*
Main.c: In function 'main':
Main.c:12:20: error: 'c' undeclared (first use in this function)
  printf("%d\n",a+b+c);
                    ^
Main.c:12:20: note: each undeclared identifier is reported only once for each function it appears in
*/

Double click to view unformatted code.


Back to problem 1