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

Home | Discussion Forum

Free Online Test

Taiyari24Hour

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

Free Online Test



View More Related Question

1) Predict the output of following C program

 #include <stdio.h>
int main()
{
char a = '12';
printf("%d", a);
return 0;
}

2) The C language defines ________ fundamental data types

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

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

5) What is the size of an int data type?

UP Gk Online Test

taiyari24hour.com

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