liveBook · Manning

Basic type

A fundamental type used to represent values directly or as the basis for derived and composite types.

How 2 Manning books explain it

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.

Read how Modern C, Third Edition explains basic type →

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.

Read how Modern C explains basic type →

Also covered in

What to know first

Related concepts

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.