fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int a;
  5. scanf("%d", &a);
  6. if(a==1 && a!=11) printf("%d carta",a);
  7. return
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:8:1: error: expected expression before ‘}’ token
 }
 ^
prog.c:5:1: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d", &a);
 ^~~~~~~~~~~~~~~
stdout
Standard output is empty