

MCQOPTIONS
Saved Bookmarks
This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your C Programming knowledge and support exam preparation. Choose a topic below to get started.
1. |
How is search done in #include and #include somelibrary.h normally or conventionally? |
A. | When former is used, current directory is searched and when latter is used, standard directory is searched |
B. | When former is used, predefined directory is searched and when latter is used, current directory is searched and then predefined directories are searched |
C. | When former is used, search is done in implementation defined manner and latter is used to search current directory |
D. | For both, search for somelibrary is done in implementation-defined manner |
Answer» C. When former is used, search is done in implementation defined manner and latter is used to search current directory | |
2. |
What is the sequence for preprocessor to look for the file within <>? |
A. | The predefined location then the current directory |
B. | The current directory then the predefined location |
C. | The predefined location only |
D. | The current directory location |
Answer» B. The current directory then the predefined location | |