fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x = 5;
  6. int shyam = x-5;
  7. cout <<"x = " <<x <<endl;
  8. cout <<"shyam = " <<shyam <<endl;
  9. cout <<"x + shyam =" <<x+shyam;
  10. return 0;
  11. }
Success #stdin #stdout 0s 5552KB
stdin
Standard input is empty
stdout
x = 5
shyam = 0
x + shyam =5