Write a C programme that commands a user to input a random number of animal types with there characterisics and outputs it after the user is done using vectors | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a C programme that commands a user to input a random number of animal types with there characterisics and outputs it after the user is done using vectors

The animal description are defined within a struct.

26th Mar 2017, 8:57 AM
Bill
Bill - avatar
1 Answer
0
typedef struct dynamic_vector { int* data; struct* animal; size_t limit; size_t current; } vectorv;
27th Mar 2017, 1:38 PM
Dimas Fajar
Dimas Fajar - avatar