Question: Using C++ [This is all one question, just multiple parts] A. Declare an integer array of size 10 called List. Initialize the array with 10
Using C++ [This is all one question, just multiple parts]
A. Declare an integer array of size 10 called List. Initialize the array with 10 distinct values. Declare a integer pointer and use that pointer get 5th and 6th element of the array List.
B. Declare an array of size 1000. Set the values of the array in a way that each index contains 2*index+5 as values.
C. Declare a 2D array of size 5x5 and set all the values of the array with 55. Dont initialize with braces, use for loops. Then change value at row 0 column 3 to 3 and display the whole 2D array with for loops.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
