fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int a = 10, b = 20, c = 30;
  7. printf(ā€œ%d %d %dā€, a+b+c, b=b*2, c=c*2);
  8. return 0;
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:7:2: error: stray '\342' in program
  printf(“%d %d %d”, a+b+c, b=b*2, c=c*2);
  ^
prog.cpp:7:2: error: stray '\200' in program
prog.cpp:7:2: error: stray '\234' in program
prog.cpp:7:2: error: stray '\342' in program
prog.cpp:7:2: error: stray '\200' in program
prog.cpp:7:2: error: stray '\235' in program
prog.cpp: In function 'int main()':
prog.cpp:7:12: error: expected primary-expression before '%' token
  printf(“%d %d %d”, a+b+c, b=b*2, c=c*2);
            ^
prog.cpp:7:13: error: 'd' was not declared in this scope
  printf(“%d %d %d”, a+b+c, b=b*2, c=c*2);
             ^
prog.cpp:7:44: error: 'printf' was not declared in this scope
  printf(“%d %d %d”, a+b+c, b=b*2, c=c*2);
                                            ^
stdout
Standard output is empty