(A) Label
(B) Operator
(C) Function
(D) Variable
Tag: C++ Mcqs
Which among is scope resolution operator?
(A) :
(B) ?:
(C) ::
(D) None of the above
Which looping address is best used when we known the number of iterations?
(A) for loop
(B) while loop
(C) do-while loop
(D) None of the above
Which among following is correct example of pre-increment operator?
(A) +n
(B) –n
(C) ++n
(D) n++
Which among following is address of operator?
(A) &
(B) &&
(C) *
(D) []
Array index starts at?
(A) 0
(B) 1
(C) -1
(D) 2
Which loop is guaranteed to execute at-least once?
(A) for loop
(B) while loop
(C) do-while loop
(D) None of the above
Which of the following is subscript operator?
(A) *
(B) {}
(C) []
(D) ()