what is structuer?

Answer Posted / ashish

A structure is a collection of variables under a single name.
These variables can be of different types, and each has a name
which is used to select it from the structure. A structure is
a convenient way of grouping several pieces of related
information together.

A structure can be defined as a new named type, thus extending
the number of available types. It can use other structures,
arrays or pointers as some of its members, though this can get
complicated unless you are careful.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the method to save data in stack data structure type?

861


what is the structure pointer?

1865


What is the difference between %d and %i?

829


Explain what does the function toupper() do?

843


Is c still relevant?

852


What is enumerated data type in c?

854


What are pointers?

862


Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

1008


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

843


What is pointer to pointer in c with example?

751


What does the message "automatic aggregate intialization is an ansi feature" mean?

929


Write a program to swap two numbers without using third variable?

1057


How can I sort more data than will fit in memory?

889


What is static identifier?

918


What is string concatenation in c?

782