ALLEN Coaching
ApplyRegister for ALLEN Scholarship Test & get up to 90% Scholarship
The language C is a programming language created by Dennis Ritchie at the Bell Laboratories in 1972. It is the most commonly used language as well as the oldest. It is strongly associated with UNIX, as it was developed to write the UNIX operating system.
As C is known as the most used and popular programming language
As it is one of the basic and famous languages, if you learn C language then you can easily learn another programming language as well such as Java, Python, C++, etc. Their syntax is the same.
It is a very fast programming language compared to other programming languages like java and python.
It is a very versatile language, it is used in both applications as well as technology.
As C is a programming language, data types refer to the semantics and characteristics of the storage of data elements. These data types are expressed in the language syntax, which shows the declaration for memory location variables. It also determines the types of operation or methods of processing data elements.
It provides arithmetic types, such as integer, and real number types, and syntax to build arrays and compound types. As the C standard library is used to include directives, it contains definitions of support types and has additional properties, such as providing storage with an exact size, independent of the language implementation on specific hardware platforms.
There are four data types in C. These four types—floating points, integers, doubles, and characters—are divided into sub-groups as well. These are Char, int, modifiers, signed, unsigned, short, and long. The following is the permissible combination in specifying a large set of storage size-specific declarations.
Char: It is the smallest addressable unit of the machine which contains a basic character set. It is based on an integer type. It contains CHAR_BIT bits.
Signed char: It is the same size as the char, but it is guaranteed to be signed and capable of containing at least the [-127,+127] range.
Unsigned char: The size is the same as the char, but it contains at least the [0, 255] range.
Short, Short, int, signed short signed, short int - It is an integer type. It contains at least [-32,767,+32,767] range.
Unsigned: It is also an integer int type. It contains at least [0,65535]
Long int, long signed: It is an integer type. It contains at least [-2,147,483,647,+ 2,147,483,647].
Unsigned long, unsigned long int: It is an integer type. It contains at least [0, 4294,967,295] range.
Float: It is referred to as a precious floating point type. Its actual properties are, except, minimum limits. Here this contains the IEEE 754 single-precision binary floating point. (32 bits). In this format, it is required by the optional IEC 60554 floating point arithmetic.
Double: It is referred to as a precision floating point type. Its properties are unspecific ( except minimum limits): This is the IEEE 754 double-precision binary floating-point format ( 64bits). It is required by the optional Annex F" IEC 60559 floating point arithmetic.
Here at the end, you come to know about the C language and its data types, which are explained in an easy language that makes your learning easy as well.
Register for ALLEN Scholarship Test & get up to 90% Scholarship
Get up to 90% Scholarship on Offline NEET/JEE coaching from top Institutes
This ebook serves as a valuable study guide for NEET 2025 exam.
This e-book offers NEET PYQ and serves as an indispensable NEET study material.
As per latest 2024 syllabus. Physics formulas, equations, & laws of class 11 & 12th chapters
As per latest 2024 syllabus. Chemistry formulas, equations, & laws of class 11 & 12th chapters