Examveda

Consider the following code.
struct account{
   int acno;
}svar, *pv = &svar;

then the acno can be accessed by

A. svar.acno

B. pv->acno

C. (*pv).acno

D. A, B and C

E. A and B only

Answer: Option D

Solution (By Examveda Team)

As all the ways are legal and valid.


This Question Belongs to C Program >> Structure And Union

Join The Discussion

Related Questions on Structure and Union