Every compiler generates a list file. You can view the list (or listing) file to see the asm codes generated. Many compilers will also generate a map file. The map file will show you a summary of all memory usage, and all locations of variables and functions.How do you determine how much memory is being used by the c program, and is there a any tool do you use to determine where variables being stored in memory sections such as text, data, stack and heap?