Each of the following functions contains errors. Locate as many as you can.
A) void showValues(int nums)
{
for (int count = 0; count < 8; count++)
cout << nums[count];
}
B) void showValues(int nums[4][])
{
for (rows = 0; rows < 4; rows++)
for (cols = 0; cols < 5; cols++)
cout << nums[rows][cols];
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.