By default a real number is treated as a

Home | Discussion Forum

Free Online Test

Taiyari24Hour

By default a real number is treated as a

Free Online Test



View More Related Question

1) Which data type is most suitable for storing a number 65000 in a 32-bit system?

2) 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");
}

3) What will be the output of the following C code?

 #include <stdio.h>
int main()
{
float x = 'a';
printf("%f", x);
return 0;
}

4) The format identifier ā€˜%iā€™ is also used for _____ data type?

5) Which of the following is not a valid declaration in C?

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.