CBSE Computer Science - Revision Tour(Solved) CBSE Guess > eBooks > Class XII > CBSE Computer Science Structures Solved Revision Tour By Mr. Ravi Kiran COMPUTER SCIENCE STRUCTURES 1.f) What are Nested Structures? Give an example. 2 Ans: Nested structures are structures as member of another structure. For example,the date of birth is astructure within the structure of a student as shown below. These types of structures are known as nested structures. Eg1:
The member of a nested structure is referenced from the outermost to innermost with the help of dot operators. student stud; Then the members of the nested structure can be accessed as stud.dob.mm=10; Eg2:
2006 Outside Delhi: 1.C) Rewrite the following program after removing the syntactical error(s), if any. Underline each correction. 2
Ans:
CBSE Computer Science Solved Revision Tour By Mr. Ravi Kiran ( [email protected] ) |
|