I am trying to pass a character pointer to function which will read_json using the string internally. But after coming out of the function, the pointer's content is getting changed. Below is the code.I am trying to pass a character pointer to func
I am trying to pass a character pointer to function which will read_json using the string internally. But after coming out of the function, the pointer's content is getting changed. Below is the code.I am trying to pass a character pointer to func