By default a real number is treated as a

Home | Discussion Forum

By default a real number is treated as a

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) What will be the output of the following C code?

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

3) The maximum value that an integer constant can have is:

4) Range of unsigned int is?

5) For 16-bit compiler allowable range for integer constants is ________?

UP Gk Online Test

taiyari24hour.com

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