fork download
  1. //What will be the output of the following program?
  2.  
  3. #include <iostream>
  4. using namespace std;
  5. int main ()
  6. {
  7. int x, y;
  8. x = 5;
  9. cout <<++x * ++x;
  10. return 0;
  11. }
Success #stdin #stdout 0s 5300KB
stdin
Standard input is empty
stdout
49