fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int m=10,n=5;
  5. printf("%d",printf("%d%d,m,n"))
  6. return 0;
  7. }
  8.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:5:23: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
  printf("%d",printf("%d%d,m,n"))
                       ^
prog.c:5:25: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
  printf("%d",printf("%d%d,m,n"))
                         ^
prog.c:6:2: error: expected ‘;’ before ‘return’
  return 0;
  ^~~~~~
prog.c:4:11: warning: unused variable ‘n’ [-Wunused-variable]
  int m=10,n=5;
           ^
prog.c:4:6: warning: unused variable ‘m’ [-Wunused-variable]
  int m=10,n=5;
      ^
stdout
Standard output is empty