1. Chapter-7 Pointers 2. Pointers A pointer is a variable that holds a memory address. This address is the location of another object in memory. For example,if one variable…