Basic data storage in C