I have no idea why this happen to me, plz help.
In a method i have:
char p[255] = "";
char* p2;
char** temp;
for (i = 0 ...){
...
p = "abc" // when i = 0
= "222" // when i = 1
p2 = (char*)p;
p2 = &p2[loc];
temp[i]=p2;
}
however, when I try to print out temp it gives...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.