Question: Consider the following code fragment.struct Date { int month;int day;int year;struct Student { string name;double gpa;Date d 1 ; } ;Student S 1 ;Date d
Consider the following code fragment.struct Dateint month;int day;int year;struct Studentstring name;double gpa;Date d;;Student S;Date d;Which of the following statement will cause a compilation error?O a Syear; b Sd;O c dyear; d Both a and b
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
