✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Чи працюватиме код поданий далі? Якщо так, то який результат його виконання?
#include<iostream>
using namespace std;
struct S
{
int t : 5;
char c : 3;
int size;
};
void main()
{
S obj = { 36, 9 };
cout << obj.t << "\t" << int(obj.c);
}