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

Join The Discussion