Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
[B]Hello everyone!![/B] I am new to Linux forum and have a question related to typecasting in C related to offset of structures.I have a piece of code and having a problem with this: [CODE]void fun(struct c *p) { int offset; struct b *address; offset=(char *)&((struct c *)(&((struct a*)0)->y)->j)-(char *)((struct a … |