Vidyalelo
C Programming · Q45

Structure and Union

Programming · C Programming · question 45

Q45

How many bytes in memory taken by the following C structure? #include struct test int k; char c; ;

A.
Multiple of integer size
Answer
B.
integer size+character size
C.
Depends on the platform
D.
Multiple of word size

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board