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

Home | Discussion Forum

Free Online Test

Taiyari24Hour

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



View More Related Question

1) 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;
}

2) The C language defines ________ fundamental data types

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

 #include <stdio.h>
int main()
{
float f1 = 0.1;
if (f1 == 0.1f)
printf("equal\n");
else
printf("not equal\n");
}

4) Which of the data types has the size that is variable?

5) What is the output of this C code?

#include  
int main()
{
signed char chr;
chr = 128;
printf(

UP Gk Online Test

taiyari24hour.com

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