Hi,
Qt Code:
int* a = new int; int** b = &a; delete a; a = new int;To copy to clipboard, switch view to plain text mode
When creating the new "int" pointer "a", can "**b" be accessed or it will access to a bad memory data?
Thanks,
Hi,
Qt Code:
int* a = new int; int** b = &a; delete a; a = new int;To copy to clipboard, switch view to plain text mode
When creating the new "int" pointer "a", can "**b" be accessed or it will access to a bad memory data?
Thanks,
Òscar Llarch i Galán
Bookmarks