Home › MCQs › C Programming › Module 9: Structures and Unions - Final Quiz
Back to Topics
PRACTICE • LEARN • GROW

Module 9: Structures and Unions - Final Quiz MCQs

Solve topic-wise placement questions and improve your skills.

Module 9: Structures and Unions - Final Quiz Progress
0 of 11 completed
0% Topic Track
You are viewing MCQs in preview mode. Log in to select options, submit answers, and track your progress.
Log In to Answer
1

What is the size of the following structure on a standard 32/64-bit architecture with 4-byte integer alignment?

#include <stdio.h>

struct Example {
    char a;
    int b;
    char c;
};

int main() {
    printf("%zu", sizeof(struct Example));
    return 0;
}
A. 6
B. 12
C. 8
D. 16

Question Palette

Answered
Current
Not Attempted
Wrong

Quick Actions

Yukti Mascot