(A) Functions
(B) Data
(C) Both A & B
(D) Arrays
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.
How many parameters does a default constructor require?
(A) 0
(B) 1
(C) 2
(D) 3
How many types of constructor are there in C++?
(A) 01
(B) 02
(C) 03
(D) 04
Which of the following is not the member of the class?
(A) Const function
(B) Virtual function
(C) Static function
(D) Friend function
Which of the following storage classes have global visibility?
(A) Register
(B) Static
(C) Auto
(D) Extern
In C++ how many types of errors are?
(A) 1
(B) 2
(C) 3
(D) 4
Syntax refers to?
(A) Saving program on hard disk
(B) Rules used to create a program
(C) Both A & B
(D) None of the above
Comments are used to?
(A) To help others read and understand the program
(B) Make the program run faster
(C) Make a program compile easier
(D) Increase the size of executable program