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

I need help with this distributive property question.
How do electric field lines indicate the strength of the field? A) by how long the lines are B) by how close the lines are C) by the direction the lines are poi
To reinforce your position, it's helpful to use the pronoun l
How did the revolution war affect the relationship between settlers the Indians?
Describe how to transform the quantity of the sixth root of x to the fifth power, to the seventh power into an expression with a rational exponent. Use the Equa
Will you help out with this equation please
what is the past perfect tense of discuss
you are buying orange juice for $4.50 per container and have a gift card worth $7. the function f (x) = 4.50x -7 represent your total cost f (x) if you buy x co
Is 'you're not welcome' an example of litotes?
There were 323232 volunteers to donate blood. Unfortunately, nnn of the volunteers did not meet the health requirements, so they couldn't donate. The rest of th