0

Find output

#include #pragma pack(2) struct SIZE{ int i; char ch; double db; }; main(){ printf("%d ",sizeof(struct SIZE)); } (a)12 (b)14 (c)16 (d)8

18th Oct 2017, 6:22 AM
Shubham Anand
Shubham Anand - avatar
5 Réponses
+ 3
output is error to my dev-cpp console
18th Oct 2017, 6:56 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
0
same here... error in mine also
18th Oct 2017, 6:59 AM
Shubham Anand
Shubham Anand - avatar
0
i didn't noticed
18th Oct 2017, 7:39 AM
Shubham Anand
Shubham Anand - avatar
0
i have corrected it
18th Oct 2017, 7:40 AM
Shubham Anand
Shubham Anand - avatar
- 1
your code is incomplete .
18th Oct 2017, 7:26 AM
sayan chandra
sayan chandra - avatar