adplus-dvertising
frame-decoration

Question

A structure variable named address contains a member variable named strStreet. Which of the following statements assigns the string “Maple” to the member variable?

a.

address&strStreet = “Maple”

b.

address.strStreet = “Maple”

c.

strStreet.address = “Maple”

d.

strStreet&address=”Maple”

Answer: (b).address.strStreet = “Maple”

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A structure variable named address contains a member variable named strStreet. Which of the following statements assigns the string “Maple” to the member variable?