Posts
 
Reputation
Joined
Last Seen
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
1 Commented Post
0 Endorsements
~149 People Reached
Favorite Forums
Favorite Tags
c x 1
Member Avatar for shubhabrata

[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 …

Member Avatar for Adak
-1
149