Question:Which of the following declarations of structures is/are valid? 1)
struct node {
int count;
char *word;
struct node next;
}Node;
2)
struct node {
int count;
char *word;
struct node *next;
}Node;
3)
struct node {
int count;
char *word;
   union u1 {
         int n1;
         float f1;
    }U;
}Node;
 

A 1,2,3 

B 1,2 

C 2,3 

D 2 

E None 

+ Answer
+ Report
Total Preview: 509

Copyright © 2024. Powered by Intellect Software Ltd