a) When former is used, current directory is searched and when latter is used, standard directory is ...
View QuestionWhat would happen if you create a file stdio.h and use #include “stdio.h”?
a) The predefined library file will be selected b) The user-defined library file will be selected c) Both the ...
View QuestionWhich directory the compiler first looks for the file when using #include?
a) Current directory where program is saved b) C:COMPILERINCLUDE c) S:SOURCEHEADERS d) Both C:COMPILERINCLUDE and S:SOURCEHEADERS simultaneously
View QuestionWhat is the sequence for preprocessor to look for the file within <>?
What is the sequence for preprocessor to look for the file within <>? a) The predefined location ...
View QuestionIf #include is used with file name in angular brackets.
a) The file is searched for in the standard compiler include paths b) The search path is expanded ...
View QuestionThe preprocessor provides the ability for _______________
a) The inclusion of header files b) The inclusion of macro expansions c) Conditional compilation and ...
View QuestionWhat is #include directive?
a) Tells the preprocessor to grab the text of a file and place it directly into ...
View QuestionThe C-preprocessors are specified with _________symbol.
a) # b) $ c) ” ” d) & Answer: a
View Question
What will be the output of the following C code?
#include < stdio.h >
int main()
{
int one = 1, two = 2;
#ifdef next
one = 2;
two = 1;
#endif
printf(“%d, %d”, one, two);
}
What will be the output of the following C code? #include < stdio.h >
View Question#pragma exit is primarily used for?
a) Checking memory leaks after exiting the program b) Informing Operating System that program has terminated c) Running a ...
View Question