Write a program that declares an integer pointer which points toan integer variable that contains a value for example 10. Now dothe following operations
1. Add a value for example 5 to the variable using the pointer.(Sample answer 10+5=15)
2. Multiply a value for example 5 to the variable using thepointer. (Sample answer 10*5=50)
3. Do operations on the pointer memory, Add 1, Multiply 2, changethe variable type and see the difference.
IN C PROGRAMMING LANGUAGE
NOT C++
Expert Answer
Answer to Write a program that declares an integer pointer which points to an integer variable that contains a value for example 1…