C Language MCQ - English
Which is correct with respect to size of the datatypes?
Home | Discussion ForumWhich is correct with respect to size of the datatypes?
char > int > float
int > char > float
char < int < double
double > char > int
Answer : C
Free Online Test
View More Related Question
1) Character literals in C syntax are?
2) What is short int in C programming?
Basic datatype of C
Qualifier
short is the qualifier and int is the basic datatype
All of the mentioned
View Answer
3) The maximum value that an integer constant can have is:
4) What will be the output of the following C code? #include <stdio.h>
int main()
{
float x = 'a';
printf("%f", x);
return 0;
}
5) What will be the output of the following C code? #include <stdio.h>
int main()
{
float f1 = 0.1;
if (f1 == 0.1)
printf("equal\n");
else
printf("not equal\n");
}