Correct the following code segment fi rst:
struct phone {
char model[30];
char memory;
struct resolution {
short horizontal;
short vertical;
} res;
} p;
Next, write a program that assigns the values “Galaxy Note 9” and 8 for the fi rst two members,
and 1920 and 1080 for the inner structure. Print all values.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here