wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

The following C declarations:

struct node
{
int i:
float j;
};
struct node *s[10];

Define s to be

A
A structure of 2 fields, each field being a pointer to an array of 10 elements
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
a structure of 3 fields: an integer, a float, and array of 10 elements
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
An array, each element of which is a structure of type node
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
An array, each element of which is a pointer to a structure of type node
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D An array, each element of which is a pointer to a structure of type node
It defines an array, each element of which is a pointer to a structure of type node.

flag
Suggest Corrections
thumbs-up
2
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Properties of Addition and Subtraction of Integers
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon