Examveda

How many bytes in memory taken by the following C structure?
#include <stdio.h>
struct test
{
    int k;
    char c;
};

A. Multiple of integer size

B. integer size+character size

C. Depends on the platform

D. Multiple of word size

Answer: Option A


This Question Belongs to C Program >> Structure And Union

Join The Discussion

Related Questions on Structure and Union