Pointers are used to store another variable’s memory address as its own value. Pointers can be accessed using the asterisk symbol(*). Here is a simple demonstration of the pointers:- We can also optimize this code by directly storing the value of ad...