Joined
Last Seen
-2 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.40K
[I]<<thread split>>[/I] [CODE]#include <stdio.h> struct a { char aa; char ab; char ac; }; struct b { char b_a; char b_b; char b_c; char b_d; char b_e; char b_data[1]; }; int main() { struct b data_s; struct a *req; req =(struct a* )data_s.b_data; req->aa=3; req->ab=3; req->ac=25; printf("%x\n",data_s.b_data[0]); printf("%x\n",data_s.b_data[1]); printf("0x%x\n",data_s.b_data[2]); return … |