Hello All,
Want to make typedef concept clear by implementing following
First two typedef strcture declartion do not allocate any memory at all. But last structure declaration will allocate total 256 bytes of memory( considering 4 bytes for int)Code:typedef node { int a; int b; }; typedef tot { struct node theNode[32]; // <-- Is there any memory allocated for this??? }; struct tot theTot;
Let me know, whether my above statement is correct.