1.0050.b.  Assign the variable book to the structure template. Show the declarations necessary.

 

 

void main()

{  struct booktemplate book[5] ={{“Anna Karenina”,”Tolstoy”,1876,125,NULL},

               Great Gadsby, The”, Fitzgerald, F.S.”,1932,50,}, {“Guliver’s Travels”, ”Swift”,

               726,250,},{“Rhetoric”,”Aristotle”,-329,1500,},{“Vanity Fair”,”Thackeray”,

               1847,750,}}, * first;

 

Note: Pointer variable first (which holds the address to the first name on the list) should be declared.