0
5.3kviews
Enlist all the data types in C language along with their memory requirements, format specifiers and range.

Subject : Structured Programming Approach

Title : Fundamental of C Programming

Marks : 4M

1 Answer
1
314views

C supports five fundamental data types: Character, Integer, Floating-Point, Double floating-Point, and valueless. These are denoted as char, int, float double, void, respectively, ’void’ is typically used to declare as function as returning nil value.

enter image description here

Modifiers to Basic Data Types

Modifiers are used to alter the meaning of basic data types to fit various needs. Except the type void, all others data type can have various modifiers preceding them.

List of modifiers used in C are:

i) Signed

ii) Unsigned

iii) Long

iv) Short

enter image description here

enter image description here

enter image description here

Please log in to add an answer.