I m returning a value of pointer of a structure from one function to main; but whenever it comes in main it becomes NULL... i used another pointer in main and equated its value to returning pointer but its still becoming NULL. I also tried removing its initialization from main; but ivvain.
So, what is to be donr to retain its value? Actually i want to use the same value in other function; which m calling from main.
So, what is to be donr to retain its value? Actually i want to use the same value in other function; which m calling from main.
Comment