c related doubt here ? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

c related doubt here ?

#include <stdio.h> struct { int b1: 1; int b2: 2; }bits; int main() { printf("%ld",sizeof (bits)); return 0; } what does this code mean ? and how the output is 4?

25th Jun 2020, 2:52 PM
NIK
NIK - avatar
1 Respuesta
25th Jun 2020, 3:10 PM
Ipang