Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

C | Structure & Union | Question 10

  • Difficulty Level : Medium
  • Last Updated : 28 Jun, 2021

Take a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked List and many more! Check out our Data Structures in C course to start learning today.

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

The above C declaration define ‘s’ to be (GATE CS 2000)
(A) An array, each element of which is a pointer to a structure of type node
(B) A structure of 2 fields, each field being a pointer to an array of 10 elements
(C) A structure of 3 fields: an integer, a float, and an array of 10 elements
(D) An array, each element of which is a structure of type node.

Answer: (A)

Explanation: Refer Structures in C.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :