Q181
Open questionSelect an option to see the answer and solution.
Practice every MCQ with options. Use Show answers when you want the correct option and solution.
223
Questions
10/12
Page
Pick an option on a question to see the right answer and solution.
Q181
Open questionSelect an option to see the answer and solution.
Q182
Open questionSelect an option to see the answer and solution.
Q183
Open questionSelect an option to see the answer and solution.
Q184
Open questionint func(int);
double func(int);
int func(float);Select an option to see the answer and solution.
Q185
Open questionSelect an option to see the answer and solution.
Q186
Open questionSelect an option to see the answer and solution.
Q187
Open question#include <stdio.h>
#define A 1 + 2
#define B 3 + 4
int main()
{
int var = A * B;
printf("%d\n", var);
}Select an option to see the answer and solution.
Q188
Open question#include <stdio.h>
double foo();
int main()
{
foo();
return 0;
}
foo()
{
printf("2 ");
return 2;
}Select an option to see the answer and solution.
Q189
Open question#include <stdio.h>
#define foo(x, y) x / y + x
int main()
{
int i = -6, j = 3;
printf("%d ", foo(i + j, 3));
printf("%d\n", foo(-3, 3));
return 0;
}Select an option to see the answer and solution.
Q190
Open question#include <stdio.h>
int main()
{
foo();
foo();
}
void foo()
{
int i = 11;
printf("%d ", i);
static int j = 12;
j = j + 1;
printf("%d\n", j);
}Select an option to see the answer and solution.
Q191
Open question#include <stdio.h>
register int x;
void main()
{
printf("%d", x);
}Select an option to see the answer and solution.
Q192
Open questionSelect an option to see the answer and solution.
Q193
Open questionSelect an option to see the answer and solution.
Q194
Open questionSelect an option to see the answer and solution.
Q195
Open question#include <stdio.h>
int main()
{
void foo();
void f()
{
foo();
}
f();
}
void foo()
{
printf("2 ");
}Select an option to see the answer and solution.
Q196
Open question#include <stdio.h>
void main()
{
m();
printf("%d", x);
}
int x;
void m()
{
x = 4;
}Select an option to see the answer and solution.
Q197
Open questionSelect an option to see the answer and solution.
Q198
Open question#include <stdio.h>
int main()
{
register static int i = 10;
i = 11;
printf("%d\n", i);
}Select an option to see the answer and solution.
Q199
Open question#include <stdio.h>
#include "printf"
void main()
{
printf("hello");
}Select an option to see the answer and solution.
Q200
Open question#include <stdio.h>
int i;
int main()
{
printf("%d\n", i);
}Select an option to see the answer and solution.