Examveda

The correct syntax to access the member of the ith structure in the array of structures is?
Assuming: struct temp
    {
        int b;
    }s[50];

A. s.b.[i];

B. s.[i].b;

C. s.b[i];

D. s[i].b;

Answer: Option D


This Question Belongs to C Program >> Structure And Union

Join The Discussion

Related Questions on Structure and Union