fork download
  1. #include <iostream>
  2. #include <math.h>
  3. #include <stdio.h>
  4. using namespace std;
  5.  
  6. main(){
  7. // your code goes here
  8. int c;
  9. c= 10^5
  10. printf("%d\n",c);
  11. }
Compilation error #stdin compilation error #stdout 0s 4540KB
stdin
Standard input is empty
compilation info
prog.cpp:6:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
 main(){
      ^
prog.cpp: In function ‘int main()’:
prog.cpp:9:9: error: expected ‘;’ before ‘printf’
  c= 10^5
         ^
         ;
  printf("%d\n",c);
  ~~~~~~  
stdout
Standard output is empty