Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2020
2,137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.80 KB | None | 0 0
  1. /******************************************************************************
  2.  
  3.                               Online C++ Compiler.
  4.                Code, Compile, Run and Debug C++ program online.
  5. Write your code in this editor and press "Run" button to compile and execute it.
  6.  
  7. *******************************************************************************/
  8.  
  9. #include <iostream>
  10.  
  11. using namespace std;
  12.  
  13. int main()
  14. {
  15.     /*int i = 0;
  16.     int j = -1;
  17.     int playList[6] = {0,1,2,3,4,5};
  18.     int *start = playList;
  19.     int *end = playList;
  20.  
  21.     for(int position = 0; position < sizeof(playList); position++){
  22.         end++;
  23.     }
  24.  
  25.     while(&start != &end){
  26.         cout << *start << endl;
  27.         cout << *end << endl;
  28.         start++;
  29.         end--;
  30.     } */
  31.    
  32.    
  33.  
  34.     return 0;
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement