Sail E0 Webinar

MCQs

Total Questions : 14 | Page 2 of 2 pages
Question 11. The C-preprocessors are specified with _________symbol.
  1.    #
  2.    $
  3.    " "
  4.    None of the mentioned.
 Discuss Question
Answer: Option A. -> #


The C-preprocessors are specified with # symbol.


Question 12. The #include directive
  1.    Tells the preprocessor to grab the text of a file and place it directly into the current file
  2.    Statements are typically placed at the top of a program
  3.    both a & b
  4.    None of a & b
 Discuss Question
Answer: Option C. -> both a & b


The #include directive tells the preprocessor to grab the text of a file and place it directly into the current file and are statements are typically placed at the top of a program.


Question 13. The preprocessor provides the ability for _______________.
  1.    The inclusion of header files
  2.    The inclusion of macro expansions
  3.    Conditional compilation and line control.
  4.    All of the mentioned
 Discuss Question
Answer: Option D. -> All of the mentioned


The preprocessor provides the ability for the inclusion of header files, macro expansions, conditional compilation, and line control.


Question 14. If #include is used with file name in angular brackets.
  1.    The file is searched for in the standard compiler include paths
  2.    The search path is expanded to include the current source directory
  3.    Both a & b
  4.    None of the mentioned
 Discuss Question
Answer: Option A. -> The file is searched for in the standard compiler include paths


With the #include, if the filename is enclosed within angle brackets, the file is searched for in the standard compiler include paths.


Latest Videos

Latest Test Papers