fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int array[100];
  7. for(int i = 0; i < 100; i++){
  8. array[i] = i;
  9. }
  10. int *arrayPointer = array;
  11. cout<<10[arrayPointer];
  12. return 0;
  13. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
10