Hey, I have studied the subject of structs.
when I make a struct it's a general abstract concept until I make a variable of concrete type of that struct then it will allocated in the memory.
To be more explicit for me, can someone please give me an analogous of real life which is visualizing the concept of "structs" and its allocations in the memory once declaring its variables?!
Moreover, what happened when I write the same name in two concrete structs, meaning lets assume I have defined struct called "struct BOOK" , and write like this :
struct BOOK b1 = {something};
struct BOOK b1= {something different} ; so the computer will allocate for me b1 and put it's value as {something} and after being called once again struct BOOK b1={something different} ; he will go to the name b1 that's already defined previously, and put the updated value or .. ? or totally he's not allowing similarity in names(same names)?!
thanks in advance !