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 structure variable named address contains a member variable named strStreet. Which of the following statements assigns the string “Maple” to the member variable? Correct Answer address.strStreet = “Maple”
We can access the member by using structName.memberName. You refer to a member variable by preceding its name with the name of the structure variable in which it is defined. You use the dot member access operator (a period) to separate the structure variable’s name from the member variable’s name.
মোঃ আরিফুল ইসলাম
Feb 20, 2025