C Programming MCQ

1:

Consider the following declaration. 

struct addr 
{
char city [10];
char street [20]; 
int pincode; 
};

struct 
{
char name[20];
int sex; 
struct addr locate;
} criminal, *kd * &criminal;

pincode can be accessed by

A.

criminal . locate . pincode

B.

criminal .pincode

C.

kd--->locate . pincode

D.

kd. locate —> pincode

 

Answer : C

Explanation :

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.