fork(1) download
  1. //@Author Damien Bell
  2. #include <iostream>
  3. using namespace std;
  4.  
  5.  
  6. int main(){
  7. int arrayInts[5]={0,1,2,3,4};
  8. int* aPtr = arrayInts;
  9.  
  10.  
  11. cout << *aPtr+3 <<endl;
  12.  
  13. return 0;
  14. }
  15. //Make an array, and using pointers, print it out, in reverse order.
  16.  
  17.  
Success #stdin #stdout 0s 2724KB
stdin
Standard input is empty
stdout
3