{{Short description|Programming language construct}} {{More citations needed|date=May 2016}} In computer science, a '''composite data type''' or '''compound data type''' is a data type that consists of programming language scalar data types and other composite types that may be heterogeneous and hierarchical in nature. It is sometimes called a '''structure''' or a record or by a language-specific keyword used to define one such as struct. It falls into the '''aggregate type''' classification which includes homogenous collections such as the array and list.<ref>{{cite web|last1=Howe|first1=Denis|title=The Free On-line Dictionary of Computing|url=http://foldoc.org/aggregate+type|website=foldoc.org|accessdate=6 February 2023}}</ref>
==See also== * {{Annotated link|Object composition}} * {{Annotated link|Record (computer science)}} * {{Annotated link|Scalar (mathematics)}} * {{Annotated link|Struct (C programming language)}}
== References == {{Reflist}}
{{Data types}}
Category:Data types Category:Composite data types Category:Type theory Category:Articles with example C code Category:Articles with example C++ code