Identify the compiler errors in Problems and state what is wrong with the code.
```
#include
using namespace std;
char [] FillArray();
int main()
{
int values[75];
values = FillArray();
return 0;
}
```
```
#include
using namespace std;
char [] FillArray(); << can’t return an array from a function
int main()
{
int values[75];
values = FillArray(); << won’t compile, illegal lvalue error
return 0;
}
```
Computer Science & Information Technology
You might also like to view...
A high speed Internet connection operating at speeds of 256 kbps is called:
A) Dial-up access B) Broadband connection C) Internet Connection Sharing D) Remote Desktop Communication
Computer Science & Information Technology
Check boxes are the most common type of form object.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology