After the code shown executes, which of the following statements is true?

```
int numbers[] = {0, 1, 2, 3, 4};
int *ptr = numbers;
ptr++;
```
a. ptr will hold the address of numbers[0]
b. ptr will hold the address of the second byte within the element numbers[0]
c. ptr will hold the address of numbers[1]
d. this code will not compile


c. ptr will hold the address of numbers[1]

Computer Science & Information Technology

You might also like to view...

Bypassing the digital rights manager software to remove the barrier of not being allowed to run application programs not authorized by the phone's manufacturer is called ________

A) frequency-shift keying B) amplifying C) jail-breaking D) locking

Computer Science & Information Technology

An adjacency matrix is represented by what kind of matrices?

a. Square b. Rectangular c. Any d. 3-dimensional

Computer Science & Information Technology

Clicking the ________ button accepts all tracked changes and rejects any changes that were not accepted

Fill in the blank(s) with correct word

Computer Science & Information Technology

To find a Web page, the Web uses an address system. The fancy name for this type of address is Uniform Resource ____.

A. Location B. Locator C. Link D. Log

Computer Science & Information Technology