Problem

Use the following structure definition to answer Problems:struct computer{ char manufac...

Use the following structure definition to answer Problems:

struct computer{    char manufacturer[10];    double price;    int speed;};struct computer pc1, pc2;

The correct statement to assign a value of $800 to the data member price in the structure pc1 is

(a) struct price = 800;

(b) struct computer.price = 800;

(c) struct pc1->price = 800;

(d) pc1.price = 800;

(e) pc1->price = 800;

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 7