Top

Discussion

Consider the following declaration :

struct addr {
     char city[10];
     char street[30];
     int pin ;
};

struct {
char name[30];
int gender;
struct addr locate;
} person , *kd = &person ;

Then *(kd -> name +2) can be used instead of

  • A.person.name +2
  • B.kd -> (name +2 )
  • C.*((*kd).name + 2 )
  • D.either (A) or (B), but not (C)

Answer: C

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment