Multiple choice

Directions: Answer the following question based on the following declaration. struct { char city[10]; char street[20]; int pincode; } addr; struct { char name[20]; int sex ; addr locate; } criminal,*kd = &criminal;

The pincode can be accessed by

  1. criminal.locate.pincode

  2. criminal.pincode

  3. kd->locate.pincode

  4. kd.locate ->pincode

Reveal answer Fill a bubble to check yourself
A Correct answer