Advertisement
Josif_tepe

Untitled

Sep 12th, 2021
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.  
  8.     int *arr = new int[10];
  9.     arr[9] = 10;
  10.     cout << arr[9] << endl;
  11.    
  12.     arr = new int[20];
  13.    
  14.     return 0;
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement