Say I have the following code:
struct date {
int day;
int month;
int year;
};
class mydateclass {
public:
int day;
int month;
int year;
};
mydateclass date;
date.day;
Which date variable is being referred to? The date instance named mydateclass, or the date struct?