fork(2) download
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int n[10];
  6. n[5]=5;
  7. n[50]=50;
  8. n[100]=100;
  9.  
  10. cout<<n[5]<<endl<<n[50]<<endl<<n[100];
  11. }
Success #stdin #stdout 0s 3140KB
stdin
Standard input is empty
stdout
5
50
100