Answer:
b. False.
Explanation:
Delete function not used to remove data stored on the stack. It is only used to free memory on the heap. The C++ is programming language used to develop operating systems.
Answer:
=F5*$F$12+F5
Explanation:
If we want to increment the salaries in the cell F5, we must multiply the cell F5 by cell F12, and then we must sum that result.
If we want to drag the formula from the cell F5 to F10, we must use the dollar symbol $ to apply the same percent in our formula.
For example:
F12 = 5% = 0.05
F5 = 10,000
=F5*$F$12+F5
=10,000×0.05+10,000 = 10,500
Answer:
#include <iostream>
#include <cstdlib>
using namespace std;
int main() {
int[] array = new int[10];
int index = 0;
while(index < array.size()){
int number = (rand() % 100) + 1;
for (int i = 0; i < 1; i++) {
array[index] = number;
cout<< "Position "<< index << "of the array = "<< number << endl;
++index;
}
}
}
Explanation:
The while loop in the source code loops over a set of code ten times, The for loop only loops once to add the generated random number between 1 and 100 to the array of size 10. At the end of the for loop, the index location and the item of the array is printed out on the screen. The random number is generated from the 'rand()' function of the C++ standard library.
The answer would more likely be A
If it’s not correct I’m very sorry