C Language MCQ - English
By default a real number is treated as a
Home | Discussion ForumFree Online Test
By default a real number is treated as a
float
double
long double
far double
Answer : B
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) Integral data type is _________?
3) 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");
}
4) What will be the output of the following C code on a 32-bit machine? #include <stdio.h>
int main()
{
int x = 10000;
double y = 56;
int *p = &x;
double *q = &y;
printf("p and q are %d and %d", sizeof(p), sizeof(q));
return 0;
}
5) Which is correct with respect to size of the datatypes?