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;


The third character in the criminal name can be accessed by

A.

criminal . name [2]

B.

kd —> name [2]

C.

( (*kd) . name) [2]

D.

All of these

 

Answer : D

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.