Which of these are valid declarations?

(i) union {

Loading

โœช Choose the correct option.

Which of these are valid declarations?

(i) union {
int i;
int j;
};

(ii) union u_tag {
int i;
int j;
};

(iii) union {
int i;
int j;
FILE k;
};

(iv) union {
int i;
int j;
}u;

A. All correct
B. i, ii, iv
C. ii & iv
D. None of the above

Leave a Comment