Select an option to see the answer and solution.
C Fundamentals
practice.
Practice every MCQ with options. Use Show answers when you want the correct option and solution.
303
Questions
5/16
Page
Pick an option on a question to see the right answer and solution.
Select an option to see the answer and solution.
#include <stdio.h>
int main()
{
int a = 2;
if (a >> 1)
printf("%d\n", a);
}Select an option to see the answer and solution.
#include <stdio.h>
int const print()
{
printf("example.com");
return 0;
}
void main()
{
print();
}Select an option to see the answer and solution.
#include <stdio.h>
void main()
{
double b = 3 && 5 & 4 % 3;
printf("%lf", b);
}Select an option to see the answer and solution.
Select an option to see the answer and solution.
Select an option to see the answer and solution.
Select an option to see the answer and solution.
Select an option to see the answer and solution.
#include <stdio.h>
void main()
{
int x = 0, y = 2, z = 3;
int a = x & y | z;
printf("%d", a);
}Select an option to see the answer and solution.
#include <stdio.h>
int main()
{
int y = 2;
int z = y +(y = 10);
printf("%d\n", z);
}Select an option to see the answer and solution.
#include <stdio.h>
#define a 10
int main()
{
const int a = 5;
printf("a = %d\n", a);
}Select an option to see the answer and solution.
#include <stdio.h>
void reverse(int i);
int main()
{
reverse(1);
}
void reverse(int i)
{
if (i > 5)
return ;
printf("%d ", i);
return reverse((i++, i));
}Select an option to see the answer and solution.
Select an option to see the answer and solution.
Select an option to see the answer and solution.
#include <stdio.h>
int main()
{
int x = 2, y = 1;
x *= x + y;
printf("%d\n", x);
return 0;
}Select an option to see the answer and solution.
Select an option to see the answer and solution.
#include <stdio.h>
void main()
{
int k = 4;
float k = 4;
printf("%d", k)
}Select an option to see the answer and solution.
char *str = "Examveda.com\0" "programming";Select an option to see the answer and solution.
Q100
Open questiontypedef char x[10];
x myArray[5];Select an option to see the answer and solution.