Toggle navigation
Login / Register
Ask Questions
Study
Current Affairs
Previous Papers
Kerala PSC
IBPS
UPSC
RBI
TNPSC
MPSC
SSC
CBSE
United States
Model Tests
News
More
Answers
Coaching Centres
Careers
Downloads
Colleges
Kuwait News & Classifieds
Classic Jhumka Earrings Silver
INR 113.00
Free Shipping
Buy Now
Black Jhumka Earrings & Studs
INR 94.00
Free Shipping
Buy Now
Classic Jhumka Earrings Silver
INR 207.00
Free Shipping
Buy Now
Beautiful stud earing
INR 93.00
Free Shipping
Buy Now
Different Size Hoop and Stud Earrings Set
INR 243.00
Free Shipping
Buy Now
Golden Hoop Earing
INR 70.00
Free Shipping
Buy Now
×
Create account with Openguide
Sign Up
By clicking Sign Up, you agree that you have read and accepted the
Open Guide Online User Agreement.
Already have an account?
Log in
×
Login to OpenGuide
Login
Forgot password?
Reset it
New user?
Register
×
Reset your password
Reset Password
Registered user?
Log in
New user?
Register
Home
Questions & Answer
Technology Questions & Answers
C++ programming Questions & Answers
C++ programming Questions & Answers
(Compiled from UPSC, SSC ,PSC ,IBPS previous question papers)
Which among following has invalid syntax ?
A
#include
B
#include file
C
#include "file"
D
None of above
Which of the following type of class allows only one object of it to be created
A
Virtual class
B
Abstract class
C
Singleton class
D
Friend class
What is polymorphism
A
Ability to take more than one form
B
Ability to destroy destructor
C
Ability to create constructor
D
None of above
What is abstract class
A
Whose objects cant be created
B
Whose objects can be created
C
Depends on class
D
None of above
Meaning of STL
A
Standard Tree Library
B
Standard Term Library
C
Standard Template Library
D
None of above
Meaning of PDB
A
Physical Database File
B
Program Database File
C
Program Direct File
D
None of above
Stack unwinding deals with
A
deals with polymorphism
B
deals with inheritance
C
deals with exception handing
D
deals with classes
Which is not C++ storage class
A
auto
B
register
C
static
D
iostream
Default constructor has how many arguments
A
1
B
2
C
3
D
0
What is inheritance
A
Inheritance allows one class to reuse the state and behavior of another class.
B
It deals with dangling pointers
C
It deals with void pointers
D
It is type of class declaration
Reference is like a
A
Pointer
B
Structure
C
Array
D
None of above
what is a class in c++
A
Class in a collection of objects
B
Class has noting to do with object
C
It just have declaration of few variables
D
None of above
What is the meaning of base class in C++
A
Another class got inherit from this class
B
It inherit other class
C
It has a pointer variable
D
It is the first class declared
C++ programs must contain
A
start()
B
system()
C
main()
D
program()
is used for
A
carriage return
B
new line
C
end of the line
D
vertical tab
How we define our name for constants
A
#constant
B
#define
C
#define_constant
D
#constant_define
what is the size of int datatype for 32 bit system
A
1 byte
B
2 byte
C
4 byte
D
8 byte
Can #define accept parameters
A
Yes
B
No
Which operator is used for comparing two variables
A
:=
B
=
C
=:
D
==
Inline functions are invoked at
A
Run time
B
Compile time
C
Debug time
D
None of above
Which arithmetic operation can be done in pointer
A
Multiplication
B
Division
C
Addition
D
None of above
If value has not type, then the pointer pointing to this value will be known as
A
Empty pointer
B
Null pointer
C
Void pointer
D
None of above
What is the value of sizeof(char)
A
1
B
2
C
4
D
8
Which type of variables can be referred from anywhere in the c++ code
A
All variables
B
Local variables
C
Universal variables
D
Global variables
Which of the following functions below can be used Allocate space for array in memory
A
calloc()
B
malloc()
C
realloc()
D
All of above
Which class has only one unique value for all the objects of class
A
this
B
friend
C
static
D
none of above
ios::ate is used for
A
Set the initial position at the start of the file
B
Set the last position at the end of the file
C
Set the initial position at the end of the file
D
Set the last position at the start of the file
Dereference operator is also called as
A
pointer
B
Reference operator
C
Offset operator
D
Deoffset operator
How we mark the end of c++ statement
A
;
B
:
C
>>
cout is declared in the _____ standard file within the std namespace
A
outstream
B
stdin
C
iostream
D
None of above
1
2
Categories
Android
C programming
C++ programming
Cloud Computing
Computer
Computer System Architecure
Data Base
Data Structure
Internet & Social Media
Java programming
Manual Testing
MS Office
MySQL
Networking
Operating System
PHP
Programming
Software Engineering
Software Testing
Help & Support
About Us
Contact Us
Terms of Service