DevScript Saga

Welcome to DevScript Saga!

A little Helping Hand for Devs

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 –

  1. Clearing screen
  2. Adjusting Cursor Position
  3. Drawing any graphics shape on the screen
  4. Receiving a key from the keyboard
  5. Finding out the list of equipment attached to the computer
  6. Changing the size of the cursor
  7. Formatting a floppy
  8. Hiding a file from the directory
  9. Displaying the directory of a disk
  10. Checking the memory size
  11. Sending the output to printer
  12. Interacting with the mouse.

I ‘am sure you were not expecting the basic answer.

Leave a comment