fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. scanf("%d %d",&x,&y);
  5. printf("x=%d y=%d",x,y);
  6. return 0;
  7. }
  8.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
3
5
compilation info
prog.c: In function ‘main’:
prog.c:4:16: error: ‘x’ undeclared (first use in this function)
 scanf("%d %d",&x,&y);
                ^
prog.c:4:16: note: each undeclared identifier is reported only once for each function it appears in
prog.c:4:19: error: ‘y’ undeclared (first use in this function)
 scanf("%d %d",&x,&y);
                   ^
stdout
Standard output is empty