C++ Programming - Class Member Alignment
class A {bool a;
int b;
bool c;
};
class B {
bool a;
bool c;
int b;
};
What will be the value of sizeof(A) and sizeof(B)?
Labels: C++
About this entry
You’re currently reading “
- Published:
- 4:50 am
- by -
0 Comments (Post a Comment)