fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int c = 1,d=2;
  6. /*
  7. cout << c << endl;
  8. cout << d << endl;
  9. */
  10. cout << c << d << endl;
  11. double a = 3.2;
  12. double b = 4.5;
  13. cout << c+a << endl;
  14.  
  15. int p, q, r;
  16. p = q = r = 3;
  17. cout << p << q << r;
  18. return 0;
  19. }
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
12
4.2
333