Basic type
A fundamental type used to represent values directly or as the basis for derived and composite types.
Modern C, Third Edition
A base type is the type from which a derived C type, such as a pointer type, is formed.
- How it is used
- Defines the basic types used for C values and the types from which derived types are formed.
- How deep it goes
- Classifies basic types and explains narrow-integer promotions and pointer base-type distinctions, while deferring derived-type details.
- Examples
- Uses a table of base-type classes and identifies char and bool as narrow integer types.
- What you can do after
- Understand how C classifies basic types and uses pointer base types to distinguish pointer types.
Modern C
A base type is the type from which a C derived type is formed or the type of the individual items that compose a C array.
- How it is used
- Defines the starting types used to form derived types and identify the objects composing arrays.
- How deep it goes
- Classifies integer and floating-point types, explains promotions, and stops short of detailed derived-type construction.
- Examples
- Uses double and signed arrays, multidimensional declarations, character and Boolean types, and a classification table.
- What you can do after
- Evaluate C declarations by identifying their basic type, array element type, pointer base type, and arithmetic promotion behavior.
Also covered in
- Type-Driven Development with Idris
- Kotlin in Action, 2E
- Systems Programming with ZigIn early access (MEAP)
- 100 Go Mistakes and How to Avoid Them
What to know first
- type systemA type system is a set of rules that classifies program values and expressions and constrains their valid uses and operations.
- timestampA timestamp is a value representing a specific point in time, commonly associated with an event or data item.
Related concepts
- referenceused by · A reference is an indirect value, binding, or relationship that identifies or provides access to another object, value, resource, or source.
- structused by · A struct is a named composite type or data structure that groups multiple fields or values into one structured unit.
- arrayused by · An array is an ordered collection of elements organized in one or more dimensions and accessible by position or index.
- atomic typekind of · An atomic type is a type whose supported accesses and operations are indivisible with respect to concurrent execution and provide defined synchronization semantics.
- type systempart of · A type system is a set of rules that classifies program values and expressions and constrains their valid uses and operations.
Questions about basic type
What is basic type?
A fundamental type used to represent values directly or as the basis for derived and composite types.
Which Manning books explain basic type?
Modern C, Third Edition and Modern C.
What should I know before learning basic type?
Manning books that teach basic type usually introduce derived type, type system and timestamp first.
What is basic type a kind of?
Basic type is a kind of atomic type. An atomic type is a type whose supported accesses and operations are indivisible with respect to concurrent execution and provide defined synchronization semantics.
What is basic type part of?
Basic type is part of Prelude. The standard library of Idris, containing standard types and functions that are automatically imported by Idris programs.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

