itssmookie7730 itssmookie7730
  • 21-09-2019
  • Computers and Technology
contestada

The operation:

pStruct -> member

is equivalent to



A. (*pStruct).member

B. &pStruct.member

C. *pStruct.member

D. (&pStruct).member

Respuesta :

Branta Branta
  • 23-09-2019

Answer:

A. (*pStruct).member

Explanation:

pStruct corresponds to a pointer to a structure datatype.

So to get a reference to the actual structure data, we need to dereference the pointer using the * operator. This can be done using (*pStruct).

Now we need to access a field of the structure called member. This can be done using the dot notation. So the syntax for accessing the field 'member' will correspond to:

(*pStruct).member

Answer Link

Otras preguntas

what part of speech is beautiful in this sentence I bought a beautiful dress at the mall​
PLEASE HELP I WILL MARK BRAINLIEST!!!! :)
What is the equation of a circle whose center is at (2,-4) and has a radius of 5 units?
using the graph, determine the equation of the axis of symmetry
evaluate 3+jk+k^3 when j=2 and k=6
Which of the following are potential musculoskeletal side effects of some prescription medications?- joint pain- joint inflammation- muscle weakness- bone fract
Essay Road Map: Use the graphic organizer below as a guide to help you plan your essay. Please write a response for each area indicated below. Remember to use t
What Is entered into the system as input?
I don’t know if this is correct !!!!!!!!! Please answer correctly !!!!!!!!!!!!!! Will mark Brianliest !!!!!!!!!!!
URGENT!!!!!!!! HELP ASAP TIMED!!!!!!!!!!!!!!!