What is the difference between the iterators defined here.

What will be an ideal response?
```
vector vec;
//put 10 values into vec
const vector::iterator p = vec.begin();
vector::const_iterator q = vec.begin();
```

The difference here is what we are promising not to change. With regard to
p, it is p itself that can’t be changed. With q, it is what q points to that can’t be
changed.

Computer Science & Information Technology

You might also like to view...

The process whereby an attacker can trick a corporate mobile device to connect to an impostor AP is referred to as which of the following?

A. inserting network traffic B. denial of service C. hijacking the wireless connection D. reading data

Computer Science & Information Technology

Describe the process of creating a new computer using the self-service portal.

What will be an ideal response?

Computer Science & Information Technology