An array where each element is a pointer to a structure of type node

Q.  See the following C declaration
struct v
{
     int n;
     float a;
}
struct v * x[10];
        
Define x as

- Published on 16 Jun 15

a. An array which has the same name as a program name
b. A structure with 10 elments in it
c. An array, where each element is a pointer to a structure of type node
d. A structure of 3 fields and an array of 10 elements

ANSWER: An array, where each element is a pointer to a structure of type node
 
x is an array denoted by x[10] having 10 elements which are pointers indicated by the symbol * to structure of type node is defined by struct node.

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.)