C Programming Interview Questions and Answers-4
Q: – Why do we need function prototypes? With the help of a function prototype, the compiler can automatically perform type checking on the definition of the function, which saves you time in debugging the program. Q: – Can a function return a pointer? Yes Q: – Why do you need to use arrays of pointers? It is convenient to use an array of pointers to point to a set of character strings so that you can access any one of the strings referenced by a corresponding pointer in the array. Q: – What does it mean if the malloc() … Click here to continue reading.