Q: I'm trying to declare a pointer and allocate some space for it, but it's not working. What's wrong with this code?
char *p; *p = malloc(10);
A: See question 4.2.
Hosted by