Thank you very much for clearing the the things... :)
Type: Posts; User: sumit180288
Thank you very much for clearing the the things... :)
@tabstop: Thnnx for ur reply.
But another doubt here:
Why cant we return a pointer to that memory allocated although we are able to return the memory chunk itself?
The memory allocated in both...
Hi,
I have heard that we cannot return a pointer to a local (automatic) array variable from a function since the automatic variable have limited scope and they die off once the called function...