#include<stdio.h> typedef struct XYZ { int far *fptr; double dvar; unsigned char ch; }xyz; int main() { xyz *ptr = (XYZ *)1000; printf("Size of Pointer to structure : %d",sizeof(ptr)); return(0); }
Size of Pointer to structure : 2
Post a Comment
No comments:
Post a Comment