hello daniweb..
can any one please explain me the following code:-
#include<stdio.h>
int main(){
char far *p =(char far *)0x55550005;
char far *q =(char far *)0x53332225;
*p = 80;
(*p)++;
printf("%d",*q);
return 0;
}
as per my knowledge far * is not used now..
but far pointer is used to access all the 16 segments of memory
size of far * is 4 byte i.e., 32.
i know only this thing and so unable to understand the code..