Junior — Senior
What will this program output
livecode
Task condition
Determine what number will be printed to the console after running the following code.
# include <cstdint>
# include <iostream>
# pragma pack(4)
struct A
{
uint64_t Value1 = 10;
uint32_t Value2 = 20;
uint16_t Value3 = 30;
};
int main()
{
std::cout << sizeof(A) << std::endl;
return 0;
}