Interview Questions

I am getting baffling syntax errors which make no sense at all

C Interview Questions and Answers


(Continued from previous question...)

I am getting baffling syntax errors which make no sense at all

Q: I'm getting baffling syntax errors which make no sense at all, and it seems like large chunks of my program aren't being compiled.

A: Check for unclosed comments, mismatched #if/#ifdef/#ifndef/#else/#endif directives, and perhaps unclosed quotes; remember to check header files, too.

(Continued on next question...)

Other Interview Questions