How many bytes are occupied by near, far and huge pointers (DOS)?

Home | Discussion Forum
Taiyari24Hour

How many bytes are occupied by near, far and huge pointers (DOS)?



View More Related Question

2) What will be the output of the program ?

 #include<stdio.h>
int main()
{
int i=3, *j, k;
j = &i;
printf("%d\n", i**j*i+*j);
return 0;
}

3) What would be the equivalent pointer expression for referring the array element a[i][j][k][l]

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

 #include <stdio.h>
int main()
{
int i = 10;
void *p = &i;
printf("%d\n", (int)*p);
return 0;
}

5) What will be the output of the program If the integer is 4bytes long?

 #include<stdio.h>
int main()
{
int ***r, **q, *p, i=8;
p = &i;
q = &p;
r = &q;
printf("%d, %d, %d\n", *p, **q, ***r);
return 0;
}

UP Gk Online Test

taiyari24hour.com

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