Advertisement
Josif_tepe

Untitled

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