What are the ranges of basic datatype of C' programming languages?

1 answer

Answer

1065708

2026-07-10 19:40

+ Follow

Basic built-in data types in the C Programming language are scalar types in variations of char, int and float:

char, unsigned char, signed char

int, signed int, unsigned int, short, signed and unsigned short, long, signed and unsigned long

float, double

Named enumerations are supported. These are weakly typed constant literals of type int. Bitfields are supported as range-limited signed or unsigned integers. Neither qualify as a type in their own right.

Some dialects also support additional types, such as wide character, extra large integers or floating point scalars.

The language also knows a related keyWord void, which is used to express the fact that the related item has no known or no specific type. void in itself is not a type (it is rather the absence of a type).

The C programming language also supports three basic aggregates: structure, union and arrays.

Pointers can reference any of the scalar built-ins, enumerations, structures, unions, arrays, and the infamous void. Pointers are viewed as a data type by many.

Other members of the C family of languages also support class and interface types and strongly typed enumerations.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.