Page 1 of 1

How many bytes in memory taken by the following C structure?

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
Become Top Ranker in C Programming Now!
advertisement


var adpushup = window.adpushup || {};
adpushup.que = adpushup.que || [];
adpushup.que.push(function () {
if (adpushup.config.platform === "MOBILE") {
adpushup.triggerAd("fdd9bf87-4faf-4493-82b4-e5538b31931a");
} else if ((window.outerWidth <= 768) || (window.outerWidth == 0)) {
adpushup.triggerAd("fdd9bf87-4faf-4493-82b4-e5538b31931a");
}
});
#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