Question: done in c++ and needs to include source and header files. Create a program that contains an integer, set the integer to five, display it,
done in c++ and needs to include source and header files.
Create a program that contains an integer, set the integer to five, display it, create a pointer to the same integer, use it to change the value to 10, then output it again.
Create an array of ten integers, use a for loop to set them equal to the first 10 squares, then create a pointer, and use the pointer (with dereferencing) to display the values in a second for loop.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
