Identify the compiler errors in Problems and state what is wrong with the code.

```
#include
using namespace std;
int main()
{
float numbers[100];
int j;
cout << numbers;

}
```


There are no compiler errors in this code. There will be a warning saying you need to return 0

```
#include
using namespace std;
int main()
{
float numbers[100];
int j;
cout << numbers; << this will write the hex address. It is not
a compiler error.
}
```

Computer Science & Information Technology

You might also like to view...

Multiple Choice

What will be an ideal response?

Computer Science & Information Technology

The horizontal or vertical green bar that displays as you move an object, assisting with lining up an object.

What will be an ideal response?

Computer Science & Information Technology

Generally speaking, whenever the term heap is used by itself, it refers to a max-heap.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The technician is moving a users files from a Windows XP PC to a Windows Vista PC. Which of the following directories corresponds to each operating system?

A. c:\users\user1\documents to c:\users\user1\documents B. c:\documents and settings\user1\my documents to c:\users\user1\documents C. c:\documents and settings\user1\my documents to c:\documents and settings\user1\my documents D. c:\users\user1\my documents to c:\users\user1\documents

Computer Science & Information Technology