(A) 0
(B) 255
(C) 264
(D) Garbage
Category: C++ Programming Mcqs
C++ Programming Mcqs for Screening tests, Interviews, Viva and Other competitive exams. C++ Programming Mcqs section will help users to prepare mcqs of C++ Programming for various exams. Aspirants of Lecturer Computer Science, SST Computer Science, Subject Specialist Computer Science, Data Entry operator, Computer Programmer, Computer Operator, Software engineer and all other Competitive Exams can prepare their C++ programming portion from here.
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) ;