Function MCQs
Practice free Function multiple-choice questions with instant answer feedback and step-by-step solutions. Click an option to check yourself, reveal the full explanation, and work through all 223 questions — no login required.
Question 217easy
The preprocessor provides the ability for . . . . . . . .
Question 218easy
What will be the output of the following C code?
#include <stdio.h>
void main()
{
static double x;
int x;
printf("x is %d", x);
}Question 219easy
Which of the following operation is not possible in a register variable?
Advertisement
Question 220easy
Which of the following Macro substitution are accepted in C?
Question 221easy
What will be the output of the following C code?
#include <stdio.h>
# define max
void m()
{
printf("hi");
}
void main()
{
max;
m();
}Question 222easy
What will be the output of the following C code?
#include <stdio.h>
#define foo(m, n) m ## n
int main()
{
printf("%s\n", foo(k, l));
}Advertisement
Question 223easy
How is search done in #include and #include "somelibrary.h" according to C standard?