Dynamic array in cpp

does dynamic array has its scope even outside the function within which it is created??

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