Which of the following is a compiler directives?

  • A#include<studio.h>
  • BInt main()
  • CFloat x;
  • DNone of these
Show answerHide answer

Correct answer A

#include <stdio.h> is a compiler directive used to include the standard input-output library before compilation. It tells the compiler to insert the contents of the specified file into the program.