answersLogoWhite

0


Best Answer

Both of them is very important in programming.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Structure data type and elementary data type?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

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.


What is called representation of data structure in memory?

"Abstract Data Type"


What is syntax of structure?

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


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.

Related questions

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.


What is homogeneous data structure?

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


What is called representation of data structure in memory?

"Abstract Data Type"


What is syntax of structure?

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


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 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!!


Can a data type be called a data structure?

Yes, they can be used interchangeably, but they usually mean separate things. A type of data is something like an integer, or string. While a data structure usually refers to a linked list or tree of integers or strings.


What are the types to pass a structure to functions?

A structure is a type so you just need to pass the structure as you would any other data type: by reference or by value.


What are the differences between Homogeneous and non homogeneous data structures?

in homogeneous data structure all the elements of same data types known as homogeneous data structure. example:- array while there can b any type of data in non homogeneous data structure. example:- list


What kind of data type is a structure?

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; };