
Structure is a collection of variables of different types under a single name.
For example: You want to store some information about a person: his/her name, Aadhar number and salary. You can easily create different variables name, aNo, salary to store these information separately.
Structure is used in C programming for following purposes –
- Clearing screen
- Adjusting Cursor Position
- Drawing any graphics shape on the screen
- Receiving a key from the keyboard
- Finding out the list of equipment attached to the computer
- Changing the size of the cursor
- Formatting a floppy
- Hiding a file from the directory
- Displaying the directory of a disk
- Checking the memory size
- Sending the output to printer
- Interacting with the mouse.
I ‘am sure you were not expecting the basic answer.


Leave a comment