Given the structure type and variable definitions

```
struct ShoeSize
{
char width;
int number;
};
struct ShoeType
{
char style;
ShoeSize size;
double price;
};
ShoeType shoe1, shod2;
```
What type do these variables have?
a) shoe1.style
b) shoe2.size
c) shoe1.size.width
d) shoe2.price
e) shoe1.size.number

a) char, b) ShoeSize, c) char, d) double, e) int.

Computer Science & Information Technology

You might also like to view...

The Web Page option to save a Word document as a Web page saves a document as a .htm or .html file without the metadata

Indicate whether the statement is true or false

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1) A sequence begins at subscript 1. 2) Strings and tuples are mutable sequences. 3) Each key-value pair in a dictionary has the form key : value. 4) Using a tuple as a dictionary key is an error. 5) Dictionary values are accessed with the dot operator.

Computer Science & Information Technology