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 developer of the C++ programming language?



  • Dennis Ritchie


  • Charles Babbage


  • Bjarne Stroustrup


  • None

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



  • 1972


  • 1978


  • 1979


  • 1996

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



  • We can define our own data types


  • Program statements are simpler than in procedural language


  • OOP can be taught to correct its own errors


  • None

Q.4 What was the name of C++ earlier?



  • C with classes


  • C++


  • CPP


  • None

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



  • CSE Study


  • Enter value of A,B,C


  • 24.56e-04


  • All of these

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



  • 0


  • 5.35


  • 3.14


  • 8.25

Q.7 C++ is a _____ language?



  • Object oriented Programming Language


  • Semi-Object oriented Programming Language


  • Procedural Oriented Programming


  • None

Q.8 When a language has the capability to produce new data types, it is known as?



  • Extensible


  • Encapsulation


  • Reprehensible


  • None

Q.9 Which of the following loops is faster?



  • for


  • while


  • do while


  • All work at the same speed

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



  • 1 Byte


  • 2 Byte


  • 3 Byte


  • Depends on compiler

Q.11 Which of the following symbols is used for the input stream?



  • {}

” correct=”b” ans=”The extraction operator (>>) is used with the ‘cin’ object to read data from the standard input device.”]

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

” b=”float (*a)[9]” c=”float*a[9]” d=”None” correct=”b” ans=”The syntax ‘float (*a)[9]’ declares a single pointer that points to an entire array of 9 floating-point numbers.”]

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



  • Statically typed language


  • Dynamic typed language


  • Procedural


  • None

Q.14 Which type of language is C++?



  • Low level


  • High level


  • Middle level


  • None

Q.15 How many types of constructors are in C++?



  • 1


  • 2


  • 3


  • None

Q.16 A C++ stream is:



  • Flow of control through a function


  • A flow of data from one place to another


  • A File


  • None

Q.17 A C++ class holds:



  • Data


  • Function


  • Both A & B


  • None

Q.18 Which of the following symbols is used to denote a pre-processor?



  • *


  • #


  • @


  • %

Q.19 A C++ statement ends with a:



  • :


  • ;


  • ?

Q.20 Function Overriding is an example of?



  • Compile time polymorphism


  • Runtime Polymorphism


  • Both A & B


  • None

Some Important Link

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

Scroll to Top