(A) 0
(B) 255
(C) 264
(D) Garbage
Tag: C++ Mcqs
In C++, for is a?
(A) Keyword
(B) Function
(C) Variable
(D) None of the above
Which escape sequence is used for new line?
(A) \n
(B) \a
(C) \t
(D) None of the above
Which format string is used for int datatype?
(A) %i
(B) %d
(C) %c
(D) Both A & B
Which operator has highest precedence?
(A) %
(B) /
(C) *
(D) All have same precedence
Which operator is highest precedence?
(A) Unary
(B) Binary
(C) Postfix
(D) Infix
Declaration of character is also called as?
(A) Structure specifier
(B) Datatype collection
(C) Structure creator
(D) Both B & C
When terminating a structure what will be used?
(A) :
(B) ,
(C) ::
(D) ;