Question: Answer these questions: a.) I'm trying to declare a pointer and allocate some space for it, but it's not working. What's wrong with this code?

Answer these questions: a.) 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; *pmalloc(10); b.) Does *p++ increment p, or what it points to? c.) I'm trying to use pointers to manipulate an array of ints. What's wrong with this code? int array [5]; int i; int *ip; for(1 = 0; 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
