I cant even get a simple fopen call to work
C Interview Questions and Answers
(Continued from previous question...)
I cant even get a simple fopen call to work
Q;I can't even get a simple fopen call to work! What's wrong with this call?
FILE *fp = fopen(filename, 'r');
A: fopen's mode argument must be a string, like "r", not a character like 'r'.
(Continued on next question...)
Other Interview Questions
|