How is search done in #include and #include “somelibrary.h” according to C standard?
(a) When former is used, current directory is searched and when latter is used, standard directory is searched
(b) When former is used, standard directory is searched and when latter is used, current directory is searched
(c) When former is used, search is done in implementation defined manner and when latter is used, current directory is searched
(d) For both, search for ‘somelibrary’ is done in implementation-defined places
I have been asked this question during an interview.
Enquiry is from File Inclusion topic in chapter C Functions and Structure of a Program of C