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[-2];
  10. }
Success #stdin #stdout 0.01s 5280KB
stdin
stdout
Standard output is empty