Question: Consider the following code: struct song { string singer; string album int year; float price; } Thriller; song *psong; psong = &Thriller; string mystr; What
Consider the following code: struct song { string singer; string album int year; float price; } Thriller; song *psong; psong = &Thriller; string mystr; What is psong in the snippet above? a variable a pointer pointing to album a pointer pointing to singer a pointer pointing to Thriller
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
