How can I get the sizes of various types in c?
- by user292489
I'm looking for the following information to be printed out:
sizeof(int) = ?
sizeof(float) = ?
sizeof(double) = ?
sizeof(char) = ?
sizeof (167) = ?
sizeof(3.1415926) = ?
sizeof(‘$’) = ?