C programming syntax based question

Q.  Identify the wrong syntax
(C programming)

- Published on 26 Jun 15

a. typedef struct { member declaration; } NAME; NAME V1, V2;
b. typedef struct tag{ member declaration; } NAME; NAME V1, V2;
c. typedef struct { member declaration; } NAME; NAME V1, V2;
d. typedef struct tag { member declaration; } NAME; NAME V1, V2;

ANSWER: typedef struct tag { member declaration; } NAME; NAME V1, V2;

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)