Question: PART I - PROGRAMMING 1. (20 points) Consider a data structure named Bunny which holds the following items: 3 integers, named age, year and time;

 PART I - PROGRAMMING 1. (20 points) Consider a data structure

PART I - PROGRAMMING 1. (20 points) Consider a data structure named "Bunny" which holds the following items: 3 integers, named age, year and time; a character array of length 10 named "event" a pointer named "data which points to a struct node For the following, do not write a complete C program: just write the pieces needed for the given task: (a) write a statement to declare a variable named "bunl which points to a struct Bunny (b) write a statement to allocate space for the variable bunl which you declared in part (a) (C) some some statements to initialize age, year and time to 0 in bunl (d) write a declaration for an array (or unknown length) of struct Bunnys named "allBunnies (e) write a statement to allocate space for the allBunnies array you declared in part (d), sufficient for an array of 1000 struct Bunnys

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!