answersLogoWhite

0

What is a built-in data type?

Updated: 11/3/2022
User Avatar

Wiki User

8y ago

Best Answer

C and C++ have many types, however we often use the terms fundamental types, integral types, arithmetic types, built-in types and user-defined types when referring to a collection of types. Each has a specific meaning, however there is some overlap, so to make things clearer we need to work from the ground up, starting with the fundamental types:

Fundamental Types

Boolean (type bool)

Character (such as char and wchar_t)

Integer (such as int and long long)

Floating-point (such as float and long double)

No type (void)

From these fundamental types we can construct other types using declarative operators:

Pointer and Reference Types

Array types (such as char[])

Pointer types (such as int*)

Reference types (such as double& and vector&&) [C++ only]

Users can also define additional types:

User-defined Types

Data structures (struct)

Classes (struct and class) [C++ only]

Enumeration types (enum)

Enumeration classes (enum class) [C++ only]

The Boolean, character and integer types are collectively known as the integral types. The integral and floating point types are known as the arithmetic types. The fundamental types, the pointer and reference types are known as the built-in types. The remainder are user-defined types.

It should be noted that both C and C++ provide user-defined types as part of their respective standard libraries. Put simply, a user-defined type is one where a definition for that type must be provided by the user, either by explicitly defining that type or by including a header that contains the definition of that type. This naturally includes aliases (typedef types). The built-in types require no explicit definition, hence they are known as the built-in types.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

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

Does the hpg60 have bluetooth?

yes,it has builtin


Does the xbox Kinect have builtin wifi?

yes it does


What data type is age?

integer data type


What is data and define its type?

Data is information. Data type defines the type of data - integer, character etc


What does the function counter do and what are its parameters?

There is no builtin function 'counta' in C.


Where are Volvo trucks builtin North America?

Greensboro, NC.


What data type is middle initial?

what data type is Middle initial


How do you insert a hyperlink in Access?

There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.There is a hyperlink data type. If you set a field as that data type, such as for a website, then you can type in a valid address into the field and it will be stored as a hyperlink.


Which data type can store any data?

There is no such data type. However, when we use user-defined data types of our own type, then that type of data can be stored in a variable. So as a term, you may say that user-defined data type can store any data. As the data-type used in any variable will be depending upon us.


What is boolean data type?

what is boolean data type


Suggest the data type that can be used for initializing alphanumeric elements in a c programmed array .Also tell you the compiler that can understand the data type.?

Data Type : - It is used to identify the type of data. 'C' Language has a large no of data type, Thus it is also known by rich data type language: Data type are generally classified in three group: 1: Fundamental data type 2 Derived Data Type : 3 Use defined data type; 1 Fundamental data type: Fundamental data type includes i) The int data type: The data type int can store integer value only for eg. 14, 45, 78 declaration: int a,b; here we can store any value in variable a & b. ii) Char Data Type : The data type char can store character value only which is enclosed with single quote for e.g. 'c' declaration : char x = 'c' iii) Float Data Type:


What indicates the type of data that can be stored in field in Access?

Data Type indicates the type of data that can be stored in a field.