C Language MCQ - English
Which is correct with respect to size of the datatypes?
Home | Discussion ForumFree Online Test
Which 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) 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
2) Sort int in C language is?
Basic Datatype of C
Qualifier
All of the mentioned
short is the qualifier and int is the basic datatype
View Answer
3) Predict the output #include <stdio.h>
int main()
{
float c = 5.0;
printf ("Temperature in Fahrenheit is %.2f", (9/5)*c + 32);
return 0;
}
Temperature in Fahrenheit is 41.00
Temperature in Fahrenheit is 37.00
Temperature in Fahrenheit is 0.00
Compiler Error
View Answer
4) Which data type is most suitable for storing a number 65000 in a 32-bit system?
5) Is there any difference between following declarations?
Both are identical
No difference, except extern int fun(); is probably in another file
int fun(); is overrided with extern int fun();
None of these
View Answer