(A) \n
(B) \a
(C) \t
(D) None of the above
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.
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) ;
Which of the following function must used reference?
(A) Copy constructor
(B) Destructor
(C) Default constructor
(D) Parameterized constructor
Difference between reference and pointer is?
(A) References are an Alias for a variable where as pointer stores the address of variable
(B) References stores address of variables where as pointer points to variables
(C) Both A & B
(D) Both are same