In general, there is a structure "Children", it contains the name and date of birth. How to count a vector of n children, how to declare a vector variable. So?

struct Dety v[]; 

or how?

  • one
    struct Dety v[n]; - vp_arth

1 answer 1

So it is declared

 struct Dety v[n]; 

True, it is usually called an array .

And how you read it depends on the mass of details that you did not bring in your question.