Select an option to see the answer and solution.
Operators and Expressions
practice.
Practice every MCQ with options. Use Show answers when you want the correct option and solution.
85
Questions
4/5
Page
Pick an option on a question to see the right answer and solution.
#include <stdio.h>
printf("%d", sizeof('a'));Select an option to see the answer and solution.
Select an option to see the answer and solution.
#include <stdio.h>
union temp
{
char a;
char b;
int c;
}t;
int main()
{
printf("%d", sizeof(t));
return 0;
}Select an option to see the answer and solution.
Select an option to see the answer and solution.
2 * 9 + 3 / 2 . 0Select 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.
(Assuming array declaration int a[10];)Select an option to see the answer and solution.
Select an option to see the answer and solution.
//Let P be a structure
//Let Q be a unionSelect an option to see the answer and solution.
#include <stdio.h>
struct temp
{
int a[10];
char p;
};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.
10.0000000001Select an option to see the answer and solution.
Select an option to see the answer and solution.
#include <stdio.h>
printf("%d", sizeof(strlen("HELLOWORLD")));Select an option to see the answer and solution.
#include <stdio.h>
printf("%.0f", 2.89);Select an option to see the answer and solution.
Select an option to see the answer and solution.