MCQ Practice Single Best Answer Topic: Structure in C Language

Q Number of bytes in memory taken by the below structure is


    #include <stdio.h>
    struct test
    {
        int k;
        char c;
    };

Question ID
#2650
Subchapter
Structure in C Language
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

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

Explanation

Multiple of integer size

Share This Question

Share this MCQ with your friends or study group.