Which is correct with respect to size of the datatypes?

Home | Discussion Forum

Free Online Test

Taiyari24Hour

Which is correct with respect to size of the datatypes?



View More Related Question

1)

Is there any difference between following declarations?

  1.  extern int fun();
  2.  int fun();

2) Which of the following is not a correct variable type?

3) Range of unsigned int is?

4) Which of the datatypes have size that is variable?

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

UP Gk Online Test

taiyari24hour.com

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