C Data Type sizeof
C examples for Data Type:sizeof
HOME
C
Data Type
sizeof
Description
Click the following links for the tutorial for Data Type and sizeof.
Introducing the sizeof Operator
Use sizeof operator to determine the memory requirements of arrays.
sizeof operator takes a variable name or data type as an argument and returns the number of bytes required to store the data in memory.
To determine the length of a statically allocated array, the sizeof operator can be used.
Use sizeof() operator to get array size
Get the type size
What type sizes does your system use?