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 : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |