Choose a topic to test your knowledge and improve your C/C skills
A local variable declaration with no storage class specified is by default _________
Property which allows to produce different executable for different platforms in C is called?
What is #include <stdio.h>?
C preprocessors can have compiler specific features.
C preprocessor is conceptually the first step during compilation.
Preprocessor feature that supply line numbers and filenames to compiler is called?
#include <somefile.h> are _______ files and #include “somefile.h” ________ files.
What is a preprocessor?
Which of the following are C preprocessors?
#include statement must be written _____
#pragma exit is primarily used for?
The C-preprocessors are specified with _________symbol.
What is #include directive?
The preprocessor provides the ability for ____
If #include is used with file name in angular brackets.
What is the sequence for preprocessor to look for the file within <>?
Which directory the compiler first looks for the file when using #include?
What would happen if you create a file stdio.h and use #include “stdio.h”?
How is search done in #include and #include “somelibrary.h” according to C standard?
How is search done in #include and #include”somelibrary.h” normally or conventionally?
Can function definition be present in header files?
If the file name is enclosed in double quotation marks, then _________
If the file name is enclosed in angle brackets, then ___
Which of the following file extensions are accepted with #include?
Which of the following names for files not accepted?
What is the advantage of #define over const?
In a conditional inclusion, if the condition that comes after the if is true, then what will happen during compilation?
Conditional inclusion can be used for ______
For each #if, #ifdef, and #ifndef directive.
The #else directive is used for _________
Which of the following can never be sent by call-by-value?
Which type of variables can have the same name in a different function?
Arguments that take input by user before running a program are called?
What is the maximum number of arguments that can be passed in a single function?
An array of similar data types which themselves are a collection of dissimilar data type are ___________
Comment on an array of the void data type.
Which of the following arithmetic operation can be applied to pointers a and b? (Assuming initialization as int *a = (int *)2; int *b = (int *)3;)
What is the size of *ptr in a 32-bit machine (Assuming initialization as int *ptr = 10;)?
Which of following logical operation can be applied to pointers? (Assuming initialization int *a = 2; int *b = 3;)
Which of the following declaration will result in run-time error?
Which of the following is not possible statically in C?
What is the correct syntax to send a 3-dimensional array as a parameter? (Assuming declaration int a[5][4][3];)
What are the applications of a multidimensional array?
Which of the following are themselves a collection of different data types?
User-defined data type can be derived by________
Which operator connects the structure name to its member name?
Which of the following cannot be a structure member?
Which of the following return-type cannot be used for a function in C?
Which of the following is not possible under any scenario?
Which of the following operation is illegal in structures?