Question: The course structure variable contains a member variable named strGrade. Which of the following statements assigns the string B to the member variable? a. course.strGrade(0)
The course structure variable contains a member variable named strGrade. Which of the following statements assigns the string “B” to the member variable?
a. course.strGrade(0) = "B"
b. course.strGrade = "B"
c. strGrade.course = "B"
d. None of the above
Step by Step Solution
3.58 Rating (162 Votes )
There are 3 Steps involved in it
b co... View full answer
Get step-by-step solutions from verified subject matter experts
