fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int x=12; //valoare initiala:12
  7. int y(16); //valoare initiala:16
  8. int z(32); //valoare initiala:32
  9. int suma;
  10.  
  11. x+y+z;
  12. suma=12+16+32;
  13. cout << suma;
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
60