fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int x,b;
  6.  
  7. x=2;
  8. b=x*2;
  9. x=b;
  10.  
  11. cout << "x="<<x <<endl;
  12.  
  13. return 0;
  14. }
  15.  
  16.  
  17.  
Success #stdin #stdout 0.01s 5324KB
stdin
Standard input is empty
stdout
x=4