06
Feb
Data types in C
Related Blog Items
- Calling conventions on the x86 platform
- How can inline functions help with the tradeoff of safety vs. speed?
- C++ Basics Tutorial - Lesson 2
- ANSI C Vs K&R C
- What is a reentrant function?
The C programming language offers various data types to suit different purposes. They can be broadly categorized as follows:
-
Integral types (char, short, int, long, long long, enum, _Bool)
-
Real floating types (float, double, long double)
-
Complex floating types (float _Complex, double _Complex, long double _Complex) (New feature
-
void is an empty set of values
-
Derived types (struct type, union type, array type, pointer type, function type)
-
Incomplete type (array of unknown size, a structure or union of unknown content)
Real and complex floating types are collectively know as floating types; integral and floating types are collectively called arithmetic types; arithmetic and pointer types are collectively called scalar type; arrays and structures are collectively called aggregate types.
Popularity: 10%
You need to log on to convert this article into PDF
Related Blog Items - Calling conventions on the x86 platform
- How can inline functions help with the tradeoff of safety vs. speed?
- C++ Basics Tutorial - Lesson 2
- ANSI C Vs K&R C
- What is a reentrant function?
Related Blog Items
- Calling conventions on the x86 platform
- How can inline functions help with the tradeoff of safety vs. speed?
- C++ Basics Tutorial - Lesson 2
- ANSI C Vs K&R C
- What is a reentrant function?
No Comments
No comments yet.