Interview Questions

In a call to malloc, what does an error like

C Interview Questions and Answers


(Continued from previous question...)

In a call to malloc, what does an error like

Q: In a call to malloc, what does an error like ``Cannot convert `void *' to `int *''' mean?

A: It means you're using a C++ compiler instead of a C compiler.

(Continued on next question...)

Other Interview Questions