I have often countered the problem that "the variable is not initialized before using" which means that you should give the pointer an address before.
for example:
int* p=(int*) malloc(sizeof(int));
I have often countered the problem that "the variable is not initialized before using" which means that you should give the pointer an address before.
for example:
int* p=(int*) malloc(sizeof(int));