Home » C Programming » Structures » Question
  1. The correct syntax to access the member of the ith structure in the array of structures is?
    Assuming: struct temp
    {
    int n;
    }sct[30];
    1. sct[j].n;
    2. sct.n[j];
    3. sct.[j].n;
    4. sct.n.[j];
    5. None of these
Correct Option: A

sct[j].n;



Your comments will be displayed only after manual approval.