Hello!
I have some problem with 'realloc' and 'calloc' in a program...My question is that if some pointer is passed to a function from say Main. In that function can I allocate/ reallocate the memory to the passed pointer and can these allocated addresses with data can be retained after return of the function again i.e. in Main. If this is not possible in this way then what is the way out?
Thanks and regards,
Amal