Question: What is the difference between begin() and cbegin() in vectors?

Options

A : both are same

B : begin() returns iterator to first element and cbegin() returns iterator to last element

C : begin() returns an iterator to first element whereas cbegin() returns constant iterator to first element

D : begin() returns returns first element cbegin() returns void

Click to view Correct Answer

Previous || Next

Cplusplus Programming Seq Con Vector Class 1 more questions

Which is the India’s oldest conservation research based NGO?

Predict the chirality of the shown compounds.

Which of the following is correct about new and malloc?

What is the difference between vanishing cream and cold cream?

A tachometer is used as an inner loop in a....

The difference between a flip-flop & latch is ____________

Which of the following is untrue regarding Chou–Fasman and GOR....

What is the difference between begin() and rbegin()?

Which of the following is the correct difference between cin....

What is the difference between error and exception?

Chemical Engineering Basics - Part 1 more Online Exam Quiz

Cplusplus Programming Questions And Answers Stored Sequences

Cplusplus Programming References 2

Cplusplus Programming References 3

Cplusplus Programming Seq Con Array Class 1

Cplusplus Programming Seq Con List

Cplusplus Programming Seq Con Vector Class 2

Cplusplus Programming Standard Template Library

Cplusplus Programming Static Constant Keyword

Cplusplus Programming Stl Algorithms

Cplusplus Programming Stl Container Any 1