fork download
  1. # include <stdio.h>
  2. # include <string.h>
  3. int s(int a)
  4. { return a*a;
  5. }
  6.  
  7. int main( int argc, char* argv[])
  8. {
  9. int k = s(5);
  10. return 0;
  11. }
  12.  
Compilation error #stdin compilation error #stdout 0s 2248KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:9:9: error: unused variable ‘k’ [-Werror=unused-variable]
     int k = s(5);
         ^
cc1: all warnings being treated as errors
stdout
Standard output is empty