Basic and Advance C Question:

Download Job Interview Questions and Answers PDF

Can you mix old-style and new-style function syntax?

C Programming Interview Question
C Programming Interview Question

Answer:

Doing so is legal (and can be useful for backwards compatibility), but requires a certain amount of care . Modern practice, however, is to use the prototyped form in both declarations and definitions. (The old-style syntax is marked as obsolescent, so official support for it may be removed some day.)

Download C Programming Interview Questions And Answers PDF

Previous QuestionNext Question
What is the correct declaration of main?What is the ANSI C Standard?