View Code of Problem 110

#include<stdio.h>
int main()
{
  int a[n][2];
  int i,a,b,n;
  scanf("%d %d\n",&a,&b);
  for(i=0;i<n;i++)
  printf("%d\n",a+b);  
}  
/*
Main.c: In function 'main':
Main.c:4:9: error: 'n' undeclared (first use in this function)
   int a[n][2];
         ^
Main.c:4:9: note: each undeclared identifier is reported only once for each function it appears in
*/

Double click to view unformatted code.


Back to problem 110