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

Question 1: What was the Dark Age? Explain why was it called as such.
Jose equation is -4(x+2) = 8x+16 says to jill “I can solve for the variable in this equation in at least 4 different ways
La respuesta correcta de (GCF):10,20,40
Anisha walks around a square park of side 90 m. Vandana walks around a rectangular park of length 80 m and breadth 60 m. Each one makes four rounds. Who covers
What was an immediate result for japan after world war1
12x+4-(12x+-88)+1=12x+7x-7(2+5) Who wanna talk
In one paragraph, explain how the Bill of Rights protects both civil liberties and civil rights.
Tristan is 22 years younger than Sydney. 8 years ago, Sydney's age was 2 times Tristan's age. How old is Tristan now?
What the basic structure of Hamilton’s Bank of the United States and why was Jefferson fiercely opposed to it?
conjugate the following verbs a. Aller b. Avoir c. Faire d. Etre. e. Aimer