Answer:
#include <iostream>
#include <cstdlib>
using namespace std;
int* integerArr( int number);
int main(){
int* address;
address = integerArr(5);
for ( int i = 0; i < 10; i++ ) {
cout << "Address of the integer array: ";
cout << *(address + i) << endl;
}
return 0;
}
int* integerArr( int number){
int myArr[number];
for (int i = 0; i < number; ++i) {
myArr[i] = rand();
}
int* ptr= myArr;
return ptr;
}
Explanation:
The C++ source calls the defined pointer function "integerArr" with an integer argument to declare arrays of dynamic length, in the main function of the program and the items of the array are printed on the screen.
You much list something after a colon.
For example
Kaylina's bag included:
Food,Books,Makeup,and a brush.
.xlsx is an extension for Microsoft Excel. It's basically a project using Excel.
Answer:
A b output 0110111111001111