Explain the error in the following code. You may give the warning message, or error message, your compiler might give for the following error, or you may describe the error. However you present the error, you must explain clearly what is wrong.
```
#include
//Test question
void show_array(int ar[], int size)
{using namespace std;
for(int i = 0; i < size; i++}
cout << ar {i} << '' '' }
int main()
{const int a[6] = {2, 4, 2, 3, 5};
show_array(a, 6); //...
```
```
void show_array(int ar[], int size)
{ //^^^^ should be const to use a as an
//argument.
//. . .
}
show_array(a, 6);//warning: pointer to const given for
//argument 1 of 'void show_array(int*, int)
```
You might also like to view...
National ISDN is applicable in some parts of North America, while EuroISDN is found in Europe.
a. True b. False
When would a motion path only display a starting point and not an ending point?
A) When the motion path is combined with a second motion path B) When the motion path is a closed path like an oval C) When the motion path ends somewhere off of the slide D) When the motion path follows a straight line
________ returns the forecasted values for a specific future target date using exponential smoothing
Fill in the blank(s) with correct word
The ________ visually indicates which workbook cells are included in a formula calculation
A) status bar B) data point C) data marker D) range finder