Q201
Open question#include <stdio.h>
int main()
{
printf("C programming %s", "Class by\n%s Shyam", "WOW");
}Select an option to see the answer and solution.
Practice every MCQ with options. Use Show answers when you want the correct option and solution.
303
Questions
11/16
Page
Pick an option on a question to see the right answer and solution.
Q201
Open question#include <stdio.h>
int main()
{
printf("C programming %s", "Class by\n%s Shyam", "WOW");
}Select an option to see the answer and solution.
Q202
Open questionSelect an option to see the answer and solution.
Q203
Open questionSelect an option to see the answer and solution.
Q204
Open question#include <stdio.h>
void main(
{
double b = 8;
b++;
printf("%lf", b);
}Select an option to see the answer and solution.
Q205
Open question#include<stdio.h>
enum class
{
a,b,c
};
enum class m;
main()
{
printf("%d",sizeof(m));
}Select an option to see the answer and solution.
Q206
Open question#include <stdio.h>
void main()
{
int x = 97;
int y = sizeof(x++);
printf("x is %d", x);
}Select an option to see the answer and solution.
Q207
Open question#include <stdio.h>
int main()
{
int a = 1, b = 1, c;
c = a++ + b;
printf("%d, %d", a, b);
}Select an option to see the answer and solution.
Q208
Open questionexpression (a < 50)? var1 : var2;Select an option to see the answer and solution.
Q209
Open questionSelect an option to see the answer and solution.
Q210
Open questionSelect an option to see the answer and solution.
Q211
Open question#include <stdio.h>
int main()
{
int y = 10000;
int y = 34;
printf("Hello World! %d\n", y);
return 0;
}Select an option to see the answer and solution.
Q212
Open questionSelect an option to see the answer and solution.
Q213
Open questionc += (-c) ? a : b;Select an option to see the answer and solution.
Q214
Open questionSelect an option to see the answer and solution.
Q215
Open question#include <stdio.h>
void main()
{
int x = 5.3 % 2;
printf("Value of x is %d", x);
}Select an option to see the answer and solution.
Q216
Open question#include <stdio.h>
void main()
{
int const k = 5;
k++;
printf("k is %d", k);
}Select an option to see the answer and solution.
Q217
Open question#include <stdio.h>
int main()
{
int x = 2, y = 0;
int z = x && y = 1;
printf("%d\n", z);
}Select an option to see the answer and solution.
Q218
Open question#include <stdio.h>
void main()
{
int b = 5 - 4 + 2 * 5;
printf("%d", b);
}Select an option to see the answer and solution.
Q219
Open question#include<stdio.h>
enum Shyam
{
a,b,c=5
};
enum Shyam s;
main()
{
c++;
printf("%d",c);
}Select an option to see the answer and solution.
Q220
Open question#include <stdio.h>
int main()
{
const int i = 10;
int *ptr = &i;
*ptr = 20;
printf("%d\n", i);
return 0;
}Select an option to see the answer and solution.