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

1. C++ does not perform array bounds checking, making it possible for you to assign a pointer the address of an element out of the boundaries of an array.
2. A pointer can be used as a function argument, giving the function access to the original argument.
3. The ampersand (&) is used to dereference a pointer variable in C++.
4. Assuming myValues is an array of int values and index is an int variable, both of the following statements do the same thing.
```
1. cout << myValues[index] << endl;
2. cout << *(myValues + index) << endl;
```


1. T
2. T
3. F
4. T

Computer Science & Information Technology

You might also like to view...

Draw a binary search tree that results from inserting the following elements: 12, 16, 9, 1, 15, 13

What will be an ideal response?

Computer Science & Information Technology

Variables declared in a form's Declarations section are referred to as ____ variables.

A. global B. local-level C. class-level D. program-level

Computer Science & Information Technology

You should ________ your connections at a potential employer to learn more about the company and see if you would want to work there

Fill in the blank(s) with correct word

Computer Science & Information Technology

Frequency shift keying is susceptible to sudden noise spikes that can cause loss of data.?

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

Computer Science & Information Technology