How is search done in #include and #includesomelibrary.h normally or conventionally?

How is search done in #include and #include”somelibrary.h” normally or conventionally?

How is search done in #include and #include”somelibrary.h” normally or conventionally? mcq and its answer is provided on this page.

How is search done in #include and #include”somelibrary.h” normally or conventionally?

Que. How is search done in #include and #include”somelibrary.h” normally or conventionally?
a. Get Free Certificate of Merit in C Programming Now!
b. a) When former is used, current directory is searched and when latter is used, standard directory is searched
c. b) When former is used, predefined directory is searched and when latter is used, current directory is searched and then predefined directories are searched
d. c) When former is used, search is done in implementation defined manner and latter is used to search current directory
e. d) For both, search for somelibrary is done in implementation-defined manner
Answer: b
Explanation : None.


Comments