Home
10th Grade
11th And 12th
11th Grade
12th Grade
3rd Grade
4th Grade
5th Grade
6th Grade
7th Grade
8th Grade
9th Grade
Advance Accountancy
Auditing
Computer Aptitude
Direct And Indirect Taxation
Exams
General Hindi
Indian Finance System
Information Technology And Application In Business
Macro Economics
Town Planning
Aerospace And Aeronautical
Analytical Instrumentation
Banking Awareness
Banking Exam
Biochemistry
Bioinformatics
Biology
Biotechnology
Business Statistics
C Program
C Programming
C++ Programming
Career Aptitude Test
Cell Biology
Central Superior Service (css)
Chemical Engineering
Chemistry
Civil Engineering
Commerce
Computer
Computer Fundamentals
Computer Science
Cost Accounting
Css
Database
Drug And Pharmaceutical Biotechnology
Ecat And Mcat Entry Test
Economics
Electrical Engineering
Electrical Engineering Questions
Electrical Measurement And Instrumentation
Engineering
English
English Literature
Environment Management
Environmental Biotechnology
Enzyme Technology
Financial Management And Financial Markets
Gate
General Knowledge
Graduate Assessment Test (gat)
Health And Physical
Heat Transfer
Html
Human Anatomy And Physiology
Human And Cultural Diversity
Human Resource Management
Ias
Indian Economy
Indian Economy
Indian General Awareness
Indian Geography
Indian Geography
Indian History
Indian History
Indian Polity
Instrumentation Transducers
International Relations
Java Program
Javascript
Judiciary And Law
Life Sciences
Management
Marketing And Marketing Management
Mass Transfer
Mechanical Engineering
Mechanics Of Materials
Medical Subjects
Microbiology
Networking
Php
Placement Tests
Professional Communication
Quantitative Aptitude
Reasoning Aptitude
Renewable Energy
Science
Sociology
Sql
Surveying
Total Quality Management
Uidai Aadhaar Supervisor Certification
Virology
Notificatin
Exam
Blog
Contact Us
C++ Programming(Computer Science ) Questions and Answers
Home
Topic
Computer Science
C++ Programming
Question 1.
Which of the following is not used to seek a file pointer?
ios::cur
ios::set
ios::end
ios::beg
Explanation:-
Answer: Option B. ->
ios::set
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 2.
During dynamic memory allocation in CPP, new operator returns _________ value if memory allocation is unsuccessful.
False
NULL
Zero
None of these
Explanation:-
Answer: Option B. ->
NULL
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 3.
________ are used to format the data display in CPP.
Iterators
Punctuators
Manipulators
Allocators
Explanation:-
Answer: Option C. ->
Manipulators
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 4.
We can create objects of the abstract class.
True
False
Explanation:-
Answer: Option B. ->
False
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 5.
By default, members of the class are ____________ in nature.
protected
private
public
static
Explanation:-
Answer: Option B. ->
private
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 6.
Which of the followings is/are pointer-to-member declarator?
->*
.*
::*
both a and b
Explanation:-
Answer: Option C. ->
::*
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 7.
Reusability of the code can be achieved in CPP through ______ .
Polymorphism
Encapsulation
Inheritance
Both a and c
Explanation:-
Answer: Option C. ->
Inheritance
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 8.
Default value of static variable is_____ .
0
1
Garbage value
Compiler dependent
Explanation:-
Answer: Option A. ->
0
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 9.
If a program uses Inline Function, then the function is expanded inline at ___________.
Compile time
Run time
Both a and b
None of these
Explanation:-
Answer: Option B. ->
Run time
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 10.
Which of the following is CPP style type-casting?
per = total/(float)m
per = total/float(m)
per = (float)total/m
None of these
Explanation:-
Answer: Option B. ->
per = total/float(m)
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
1
2
3
4
5
6
7
...
14
15
Next →
One click Login
Login With Google
Old way of Login
Login With Email