Q. Which of these is valid syntax to include a header in C?

  • (A) #include <header>
  • (B) #include "header"
  • (C) Both A and B
  • (D) All of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both A and B
Explanation: The valid syntaxes to include a header file to a program in C are:

#include <header>
#include "header"
Explanation by: Team MCQ Buddy
The valid syntaxes to include a header file to a program in C are:

#include <header>
#include "header"

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
246
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Team MCQ Buddy
Publisher
πŸ“ˆ
88%
Success Rate