16 bytes....
suppose starting address is 2000
char c will occupy 2000th position
Now compiler will look for next address thats multiple of 4.This is done to improove access speed.
double starts from 2004-2012.(8 bytes)
s starts from 2012-2016.
Total size=2016-2000=16 bytes
--
Saurabh Singh
B.Tech (Computer Science)
MNNIT ALLAHABAD