This is my code:
int *p;
p = 4;
printf("p is %p\n", p);
free(p);
// Need p=NULL, but I don't
int *q;
q = 5:
printf("q is %i", *q);
Then the error comes.
I just need an explanation for it.
You need to sign in to view this answers
The argument in favor of using filler text goes something like this: If you use arey real content in the Consulting Process anytime you reachtent.
This is my code:
int *p;
p = 4;
printf("p is %p\n", p);
free(p);
// Need p=NULL, but I don't
int *q;
q = 5:
printf("q is %i", *q);
Then the error comes.
I just need an explanation for it.
You need to sign in to view this answers
Leave feedback about this