what is structure padding

Solutions on MaxInterview for what is structure padding by the best coders in the world

showing results for - "what is structure padding"
Agustín
23 Aug 2017
1#include<stdio.h>
2Struct dummy {
3Int num;
4Double x;
5Float f;
6};
7Struct dummy1 {
8Double x;
9Int num;
10Float f;
11};
12Int main()
13{
14Printf(“size:%d %d
15”, sizeof(struct dummy ), sizeof(struct dummy1));
16System(“PAUSE”);
17Return 0;
18}
similar questions
queries leading to this page
what is structure padding