struct time
{
int hours;
int minutes;
int seconds;
} t;
struct time *pt;
pt = &t;
1. pt.seconds
2. (*pt).seconds
3. time.seconds
4. pt->seconds
Ans:
2. (*pt).seconds
4. pt->seconds
struct time
{
int hours;
int minutes;
int seconds;
} t;
struct time *pt;
pt = &t;
1. pt.seconds
2. (*pt).seconds
3. time.seconds
4. pt->seconds
Ans:
2. (*pt).seconds
4. pt->seconds