answersLogoWhite

0

structure is collection of elements of different type.consider if i am storing details of students in a class,i am declaring variables like name,age,rollno...i have to use different data types.If i am declaring 4 variables of different datatypes for each of the student(let there are 100 students then i have to declare 400 variables,which is vague...)so i can use a structure with 4 variables(of different datatypes) and use any array for structure variable like as follows...

struct class

{

char name[20];

int mark;

}s[100]; here s[100] simply process 100 students details...

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is a syntactical structure?

The way you structure your words to create a thought.


What do catapults create?

damage on a structure


Which data structure used in database?

You create your own data structure in database.


Which keyword is used to create a structure?

struct


How do you create an insurance carrier?

First, you need to capitalize about $20,000,000.00 Then you need to finance all the applications and forms and set up your corporate structure. If your applications are approved, then you can start marketing your insurance product.


How did the builders get the rocks to create the structure?

usually from a quarry.


Which is used to create a balance in a sentence?

Parallel structure


Can an entire website be written in Javascript?

No. The website is still going to need to be displayed in HTML, and CSS is going to be needed to create the layout. While you could use JavaScript to create the HTML structure, you still will need a base HTML document just to get the browser to call the JavaScript's initial functions.


I have a 9yr old little girl who really needs structure. She refuses to listen to us and is doing whatever she wants to i need help.?

As a parent it is yoru responsibilty to find and create structure for your child. Create a daily schedule for her. Take her to parks in the area for outdoor exercise and to use the surrounding environment as a way to teach her about the outside world.


32 can you create a linked list with out structure pointer?

Not in C, no.


How do you create modules in c language?

by using structure in c.........


What part of speech is used to create parallel structure?

conjunction