answersLogoWhite

0


Best Answer

A structure is not a data type. A structure is more of a collection if data types that can be referenced conveniently. Mainly we humans can keep on top of it, the computer does not care.

struct foo

{

int a;

long b;

float c;

char d[512];

int *e;

};

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What kind of data type is a structure?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is data type check?

A data type (or datatype) in programming languages is an attribute of data that represents the kind and structure of the data. This involves setting constraints on the data, such as validity restrictions to values and the types of operations that may be performed upon it.


What is homogeneous data structure?

collection of dissimilar type of data is called non homogeneous data structure as for example structure .


What is data structure why is an array called a data structure which are the other data structures?

A data structure is a collection of more than one elementary item, in some kind of aggregate organization. An array is a type of structure where more than one item of the same type are arranged serially in memory, and accessed using an index. The item can either be an elementary type or it itself can be a structure type. A struct (not to be confused with the use of "structure" in this answer) is a type of structure where more than one item of the same or different types are arranged serially in memory, and accessed using the structure member (.) operator. A union is similar to a struct, except that each member occupies the same address. This means that only one type of data can be stored at any one time in a union. A self-referential structure is a type of structure, usually constructed of simpler structures, linked together with some kind of pointer scheme. Examples of this are the linked list and tree.


Structure data type and elementary data type?

Both of them is very important in programming.


What is syntax of structure?

struct tag_name { data type v1; data type v2; __________ __________ __________ }s1;


What is called representation of data structure in memory?

"Abstract Data Type"


Which type of data structure is used in ATM to take the printout of last 5 transactions?

stack data structure.


Is struct is user defined data type?

yes, a structure is a user-made data type so that user can manipulate multiple data types simultaneously. a structure covers up sum limitation of arrays as in it provides heterogenous data type.


What is a complex data structure?

A complex data structure is the kind of structure that has two arrays. One array hols the real part of the complex data and the other array holds the imaginary part.


What is non homogeneous material?

collection of dissimilar type of data is called non homogeneous data structure as for example structure .


What is the data structure which stores the multipole values?

No such thing exist in C but you can do this using structure data type and creating arrary of it object there after!!


How array is liner data structure?

it is in sequence,a chain kind of thing