Given the following struct definition:
struct A
{
int memberB;
int memberC;
};
declare x to have this structure type. Initialize the members of x, memberB
and memberC, to the values 1 and 2, respectively.
(Note: This requests an initialization, not an assignment of the members.
This distinction is important and will be made in a later chapter.)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here