CPP Output Statement MCQ

CPP MCQ
  1. Home
  2. Tutorials
  3. CPP
  4. Output Statement
  5. Multiple Choice Question

(1) Which of the following is insertion operator?

A) >>
B) <<
C) $$
D) &&

(2) cout statement ends with.

A) colon
B) semicolon
C) dot operator
D) None of These

(3) Which of the following are used in Format String with cout object ?

A) Text
B) Escape Sequence
C) Variable
D) Both a and b

(4) How many times insertion operator can be used with cout object ?

A) One
B) Two
C) Three
D) Multiple

(5) Which of the following can be used with cout statement ?

A) Variable
B) Constant
C) Expression
D) All of These

(6) Which of the following operator is used with cout object ?

A) ""
B) <<
C) >>
D) ""
Comments
Login to TRACK of Comments.