Question: Use C++ language The following code uses an array of three grades #include using namespace std; int main() { const int SIZE=3; int grade[SIZE]={10,20,30}; //Create
Use C++ language
The following code uses an array of three grades
#include
//Create an array of pointer of type integer. Name the array aptr // A. YOUR CODE
//B. Assign each array element of aptr to point to array elements of array grade. //YOUR CODE for(int i =0;i //C. Output the the grade content using aptr array //YOUR CODE //D. Output the address of array element aptr //YOUR CODE //E. Output the content of aptr //YOUR CODE //F.Output the address of array element of array grade //YOUR CODE } return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
