does dynamic array has its scope even outside the function within which it is created??
Dynamic array in cpp
hello @deck123
if u have allocated memory dynamically and u know that memory location (stored in some pointer) then u can access it from anywhere in ur program