Assignment 1: Write a C program which has different types of variables. It should have global variables initialized and un-initialzed, a function having local variables, memory allocation using malloc. It should perform some system call operations like open, read, close.

Compile the code and check the sizes of various sections using size command.  Check the maps file corresponding to your program when it is run from the /proc directory. Check the behaviour of sytem calls using strace command.