Yes. In case of C language, you need to explicitly give the type of the variable otherwise the compiler will throw an error: 'Books' undeclared.(in the above case)
So you need to use keyword struct if you are using C language but you can skip this if you are writing this in C++.
Hope this helps.