а
Size: a a a
а
а
TS
O
TS
Е
а
а
а
c++
struct bit{
bool value: 1;
};
#include <stdio.h>
int main(){
bit arr[8];
printf("%d", sizeof (arr));
}source_file.cpp: In function ‘int main()’:
source_file.cpp:8:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%d", sizeof (arr));
^
8
cplusplus_gcc assumed, other valid options are cplusplus_clang, visual_cplusplus, you can be more specific next time.
а
АК
Е
а
Е
RM
TS
а
TS