info@avatto.com
+91-9920808017
0. Assuming that bit-fields are accommodated from right to left and word size is 16-bits Consider the declaration static struct { &emsp: unsigned a : 5; &emsp: unsigned b : 5; &emsp: unsigned c : 5; &emsp: unsigned d : 5; &emsp: } v = (1, 2, 3, 4); Consider the declaration struct wer { &emsp: unsigned a : 5; &emsp: unsigned : 0; &emsp: unsigned b : 3; &emsp: unsigned : 0; &emsp: unsigned c : 2 ; &emsp: unsigned : 0 ; &emsp: } v; The storage needed for v is
1 word
2 words
3 words
4 words
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Comment
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login