fork download
  1. #include <stdio.h>
  2. #include <time.h>
  3. int main(void) {
  4. printf("Clocks per Second: %E\n", CLOCKS_PER_SEC);
  5. // your code goes here
  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:4:9: error: format '%E' expects argument of type 'double', but argument 2 has type 'long int' [-Werror=format=]
  printf("Clocks per Second: %E\n", CLOCKS_PER_SEC);
         ^
cc1: all warnings being treated as errors
stdout
Standard output is empty