Structure in C Language
O LEVEL -PAPER 3rD -- M3-R4
C LANGUAGE
STRUCTURE IN C
![]() |
structure in c |
SYNTAX OF STRUCTURE
![]() |
syntax of structure in c |
Remember structure defined in c with the help "struct" keyword as shown in above.
LOCAL DECLARATION OF STRUCTURE IN C
![]() |
local declaration of structure in c |
Local declaration of structure means when structure declared within main() body/block as
shown in above .
GLOBAL DECLARATION OF STRUCTURE IN C
![]() |
global declaration of structure in c |
Global declaration of structure means when structure declared outside the main() body/block as
shown in above .
MEMORY CONSUMED BY STRUCTURE
![]() |
memory consumed by structure |
INITIALIZATION OF STRUCTURE VARIABLE
1ST at the time of declaration of variable
![]() |
Initialization of structure variable in c |
2ND after declaration of variable
![]() |
Initialization of structure variable in c |
COPY STRUCTURE DATA OF TWO VARIABLE
![]() |
copy of structure data of two variable in c |
and if you have any query then please comments in comments section..
Comments
Post a Comment