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) How many bytes are occupied by near, far and huge pointers (DOS)?

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

4) Can you combine the following two statements into one?

   char *p; 
p = (char*) malloc(100);

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

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

UP Gk Online Test

taiyari24hour.com

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