Open In App

Storage of integer and character values in C

Integer and character variables are used so often in the programs, but how these values are actually stored in C are known to few.
Below are a few examples to understand this:

Note: The same concept is used to store the integer variables with one difference that the number of bits taken at the end is 16(2 bytes) or 32(4 bytes) bits because the size of int variables is 2 or 4 bytes.



Article Tags :