What is short int in C programming?

Home | Discussion Forum

Free Online Test

Taiyari24Hour

What is short int in C programming?

Free Online Test



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 Format Identifier %u is used for?

3) Predict the output

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

4) Integral data type is _________?

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.