fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a[]={5,7,9,11,13};
  6. int*p;
  7. int i=2;
  8. p=a;
  9. *(p++)=++i;
  10. cout(d%d%d%d",a[0],a[1],a[i++],*p,*(p+1));
  11. return 0;
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:10:14: warning: missing terminating " character
  cout(d%d%d%d",a[0],a[1],a[i++],*p,*(p+1));
              ^
prog.cpp:10:2: error: missing terminating " character
  cout(d%d%d%d",a[0],a[1],a[i++],*p,*(p+1));
  ^
prog.cpp: In function 'int main()':
prog.cpp:10:7: error: 'd' was not declared in this scope
  cout(d%d%d%d",a[0],a[1],a[i++],*p,*(p+1));
       ^
stdout
Standard output is empty