1. Write the syntax for realloc(). What is sparse matrix?
2+2 2. Difference between ++*ptr and *(++ptr). 1 3. How can a pointer be used to access individual elements of an array? Illustrate with an example. 4. What is the use of void pointer and what is the syntax for printing a variable of integer type using void pointer? 2+2 5. Give one difference between calloc() and malloc(). 1 6. Give example for passing array address in function and passing entire array in the function. (call the function, and define the function only) 1+1 7. Write the logic behind insertion of elements in a specific position of an array in bullet form. 3