fork(1) download
  1. #include <iostream>
  2. using namespace std; // consider removing this line in serious projects
  3.  
  4. int main() {
  5.  
  6. int scores [2] = {5,6};
  7. scores[0] *= 2;
  8.  
  9. cout << scores[1];
  10. }
Success #stdin #stdout 0s 5284KB
stdin
stdout
6