Chapter 5 o Structures Q.1 i) ii) iii) iv) v) vi) i) ii) iii) iv) V) Q.2 Mark true or false. vi) vii) EXERCISES Fill in
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Chapter 5 o Structures Q.1 i) ii) iii) iv) v) vi) i) ii) iii) iv) V) Q.2 Mark true or false. vi) vii) EXERCISES Fill in
Chapter 5 o Structures Q.1 i) ii) iii) iv) v) vi) i) ii) iii) iv) V) Q.2 Mark true or false. vi) vii) EXERCISES Fill in the blanks. The elements of a structure are called the The keyword A variable that references a structure is called The X) is used to define a structure. operator is used to access a member of a structure. When members of a structure are defined as structure type, these are called the 500 To access the members of a nested structure, more than one operators are used. Structure is a collection of same type of data. The size of a structure type variable depends upon the total number and sizes of members of the structure. The keyword "record" is used to define a structure. ME The semicolon (;) must be used after the closing curly bracket (i.e. };) to terminate definition of the structure. A structure must be defined before declaring structure variable(s). The operator is used to access members of structure. The structure variables cannot be initialized at the time of their declaration. viii) The structure variable can be declared as of array type. ix) The variables of an array of structure can be initialized at the time of their declaration. When members of a structure are defined as structure type, these are known as nested structure. 163