What is the smallest size a variable of the type child_t may occupy in memory?cpptypedef struct{ unsigned int age : 4; unsigned char gender : 1; unsigned int size : 2;}child_t;

🎲 Try a Random Question  |  Total Questions in Quiz: 70  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
C++ Quiz — practice the complete quiz, review flashcards, or try a random question.

MCQs For LinkedIn Skill Assessments.


What is the smallest size a variable of the type child_t may occupy in memory?<br>cpp<br>typedef struct{<br> unsigned int age : 4;<br> unsigned char gender : 1;<br> unsigned int size : 2;<br>}child_t;<br>