Which of the following is not a correct variable type?

Home | Discussion Forum

Free Online Test

Taiyari24Hour

Which of the following is not a correct variable type?



View More Related Question

1) Predict the output

 #include <stdio.h>
int main()
{
float c = 5.0;
printf ("Temperature in Fahrenheit is %.2f", (9/5)*c + 32);
return 0;
}

2) Which of the following is a User-defined data type?

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?

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

5) The format identifier ‘%i’ is also used for _____ data type?

UP Gk Online Test

taiyari24hour.com

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