Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int *pi_value = new int[5];
- pi_value[1] = 5;
- int *pi_copy = new int[5];
- pi_copy = pi_value;
- cout << pi_copy[1];
- Sleep(10000);
- delete[] pi_value;
- delete[] pi_copy;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement