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;

sex can be accessed by

A.

criminal .sex 

B.

( * kd) . sex 

C.

kd —> sex

D.

All of these

 

Answer : D

Explanation :

swamy said: (12:23am on Saturday 30th March 2013)
option a and c and b also correct.

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.