Q:

What is the difference between the begin and cbegin functions

0

What is the difference between the begin and cbegin functions?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Those that start with a `c` return the `const` version of the related iterator. For example, `begin()` will return an `iterator` while `cbegin()` will return a `const_iterator`.

 

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now