C++ Programming MCQs SET-1

Hey Guys Welcome to CSE Study247, This page provides you 20 Basic C++ Programming MCQs SET-1 which is useful for Semester and competitive exams.

 

Q.1 Who is the develop of c++ programming language?





ANSWER= (C) Bjarne stroustrup’s

 

Q.2 In which year was developed c++ ?





ANSWER= (C) 1979

 

Q.3 Which of the following are good reasons to use an object oriented langauge?





ANSWER= (A) We can define our own data types

 

Q.4 What was the name of C++ in Earlier





ANSWER= (A) C with classes

 

Q.5 Which of the following is NOT a character constant





ANSWER= (D) All of these

 

Q.6 The expression a=7/22*(3.14+2)*3/5; equal to





ANSWER= (A) 0

 

Q.7 C++ is a —– langauge ?





ANSWER= (B) Semi-Object oriented Programming Langauge

 

Q.8 When a langauge has the capability to produce ew data type,is known as ?





ANSWER= (D) None

 

Q.9 Which of the following loop is faster





ANSWER= (D) All work at same speed

 

Q.10 What is the size of int data type in C++





ANSWER= (D) Depends on compiler

 

Q.11 Which of the following symbol is used to input stream





ANSWER= (B) >>

 

Q.12 A declaration for a pointer to an array of 9 floats is ?





ANSWER= (B) float (*a)[9]

 

Q.13 Which type of langauge is C++ ?





ANSWER= (A) Statically typed language

 

Q.14 Which type of langauge is a C++





ANSWER= (B) High level

 

Q.15 How many types of constructor in c++ ?





ANSWER= (C) 3

Explain ->
1.Default Constructor
2.Parameterized Constructor
3.Copy Constructor

 

Q.16 A C++ stream is





ANSWER= (B) A flow of data from one place to another

 

Q.17 C++ class holds





ANSWER= (C) Both A & B

 

Q.18 Which of the follwing symbol is used to denote a pre-processor ?





ANSWER= (B) #

 

Q.19 C++ statement ends with a?





ANSWER= (C) ;

 

Q.20 Function Overriding is the example of ?





ANSWER= (B) Runtime Polymorphism

Some Important Link

1. Official Telegram Click Here
2. Telegram For CSE MCQs Click Here
3. You TubeClick Here

error: Content is protected !!