1. C programs begins executing at the beginning of the main function
2.
Garbage is generally classified into two types:
-
semantic garbage
- Semantic garbage is any object or data which will never be accessed by a running program, for any combination of inputs to the program. syntactic garbage
- Syntactic garbage refers to objects or data within a program's memory space that are unreachable from the program's root set.