Structure in C++

struct Books{

char title[50];
char author[50];
char subject[100];
int book_id;


Structure as Function arguments


Pointers to structures:

struct Books *struct_pointer;


To access the members of the structure  I have to use -> operator as follows


With typedef:

There are some arrors in teh code  I will fix thsi later..