I understand how to create a struct on the heap using malloc. Was looking for some documentation regarding creating a struct in C on the stack but all docs. seem to talk about struct creation on heap only.
I understand how to create a struct on the heap using malloc . Was
Share
The same way you declare any variable on the stack: