If a pointer p points to a struct type variable of type car which has fields make, model and year, which of the following is a correct way to reference the model.

a) p.car.model
b) *p.model
c) p.model
d) (*p).model

d) (*p).model

Computer Science & Information Technology

You might also like to view...

Which of the following is a correct entry for the City in a parameter query?

A) {Enter a City} B) Enter a City C) [Enter a City] D) [City]

Computer Science & Information Technology

What formatting mark displays between words that have been formatted as a nonbreaking space?

A) Question mark B) Small raised triangle C) Exclamation point D) Small raised circle

Computer Science & Information Technology