Size of data types in c


Size of data types in c programming language turbo C and GCC compilers


Size of data types in the 16 bit compilers, like TURBO c++ 3.0, Borland c++ etc:


Size of data types in the 32 bit compilers. Example: LINUX gcc compiler, Turbo c 4.5 etc:


Introduction
List of data types
Primitive data types in c
Modifiers of data types in c
List of modifiers in c
Default modifiers of data types in c
Default data of modifiers in c
Rules of using modifiers in c
Possibles modifiers of given data types in c
Size modifier in c
Size of data types in c
Sign modifier in c
Range of data types in c
Easy way to remember limit of data types in c
Const modifiers in c
Pointers modifier in c
Function modifier in c
Interrupt modifier in c
Volatile modifier in c
Fundamental data types in c
Memory representation of char in c
Memory representation of signed char in c
Memory representation of int in c
Memory representation of signed int in c
Memory representation of double in c

5 comments:

Karthikeyan.V.B said...

Size of enum in GCC is 4 bytes

Thong LT said...

size of enum and struct ?

Rajas Pathak said...
This comment has been removed by the author.
Hi said...

my dear enum and struct has no size when we define these it takes size according to the variable we r using in this !!!!like
sruct a
{
int a;
int b;
}
then the size of struct will be 4---

Chanchal said...

Yah !! Exactly. That's correct.