Professional Documents
Culture Documents
A) Simula67
B) Simula57
C) Simula47
D) Simula87
A) Improved C
B) Integrated C
C) C with classes
D) C with Simula
3. …………. Refer to the names of variables, functions, arrays, classes etc. created by the programmer.
A) Keywords
B) Identifiers
C) Constraints
D) Strings
A) To specify the return type of function when it is not returning any value.
6. If m and n are int type variables, what will be the result of the expression
A) 0
B) 1
C) 2
C) only ii and iv
8. Some of the situations where inline expansion may not work are:
A) an integer expression
B) a Boolean expression
C) either A or B
D) Neither A nor B
10. …………… is a way to bind the data and its associated functions together which allows the data and
functions to be hidden.
A) Structure
B) Class
C) Enum
D) Both A and B
11. Procedure oriented programming basically consists of writing a list of insturctions or actions for the
computer to follow and organizing these instructions into groups known as ………………
A) procedures
B) functions
C) flowchart
D) instructions
12. State whether the following statements are true about object oriented programming in C++.
A) abstraction
B) inheritance
C) polymorphism
D) encapsulation
14. ……………… refers to the act of representing essential features without including the background
details or explanations.
A) abstraction
B) inheritance
C) polymorphism
D) encapsulation
15. ……………. is the process by which objects of one class acquire the properties of objects of another
class.
A) abstraction
B) inheritance
C) polymorphism
D) encapsulation
A) >>
B) >
C) <<
D) <
17. State True or False.
i) A satic function can have access to only other static members (functions or variables) declared in the
same class.
ii) A static member function can be called using the class name (instead of its objects)
A) True, True
B) True, False
C) False, True
D) False, False
18. Which of the following condition is true for an object used as a function argument?
A) Only i
B) Only ii
C) Both i and ii
D) None of them
19. …………… enable us to hide, inside the object, both the data fields and the methods that act on that
data.
A) Encapsulation
B) Polymorphism
C) Inheritance
D) Overloading
20. Which of the following is/ are the characteristics of friend function.
A) It is not in the scope of the class to which it has been declared as friend.
B) It can invoke like a normal function without the help of any object.
A) ->*
B) .*
A) Subclass
B) Abstract Class
C) Meta Class
D) Object Class
23. The dereferencing operator ……… is used when the object itself is used width in the member pointer.
A) ->*
B) .*
A) Paramless constructor
B) No parameter constructor
C) Default constructor
D) Argumentless constructor
25. Automatic initialization of object is carried out using a special member function called …………
A) Friend
B) Casting
C) Reference Parameter
D) Constructor
ii) They are invoked automatically when the objects are created.
27. A ……………. takes a reference to an object of the same class as itself as an argument.
A) Reference constructor
B) Copy Constructor
C) Self Constructor
i) A destructor never takes any argument nor does it return any value.
A) True, True
B) True, False
C) False, True
D) False, False
29. Which of the following operates cannot be overloaded?
C) i, iii, iv only
30. …………. Is the process of creating new classes, called derived classes from existing classes called base
class.
A) Inheritance
B) Encapsulation
C) Polymorphism
D) Overloading
ii) The binary operator such as +, -, * and must explicitly return a value.
A) True, True
B) True, False
C) False, True
D) False, False
A) cputs ()
B) put ()
C) gets ()
D) tputs ()
33. Which of the following condition (s) should satisfy the casting operator.
i) Long double ii) Double iii) Float iv) Long v) Int vi) Char
A) 1-2-3-4-5-6
B) 1-3-2-4-5-6
C) 1-2-3-5-4-6
D) 1-2-4-3-5-6
A) floodfill ()
B) setcolor()
C) setfillstyle()
D) fillstyle ()
36. When a function is defined inside a class, this function is called ………….
A) Inside function
B) Class function
C) Inline function
D) Interior function
A) Reference variable
B) Arrays
C) Class objects
D) Header files
i) We cannot make the function inline by defining a function outside the class.
ii) A member function can be called by using its name inside another member function of the same class,
this is known as nesting of member function.
A) True, True
B) True, False
C) False, True
D) False, False
A) Size of
B) +
C) +=
D) ::
40. Which of the following is true about the static member variable in C++.
i) It is initialized to zero when the first object of its class is created. Other initialization is also permitted.
ii) It is visible only within the class, but its lifetime is the entire program.
A) i-True, ii-True
B) ii-False, ii-True
C) i-True, ii-False
D) i-False, iii-False
41. Which of the following keywords are used to control access to a class member?
A) default
B) break
C) protected
D) goto
42. What will be the values of x, m and n after execution of the following statements?
Int x, m, n;
m=10;
n=15;
x= ++m + n++;
44. A variable is defined within a block in a body of a function. Which of the following are true?
46. ………….. means that the code associated with a given procedure call is not known until the time of
the call at run time.
A) dynamic binding
C) early binding
D)static binding
47. Through ………………., we can eliminate redundant code and extend the use of existing classes.
A) Encapsulation
B) Polymorphism
C) Inheritance
D) Overloading
48. State whether the following statements about the benefits of OOP are True or False.
A) True, False
B) False, True
C) True, True
D) False, False
49. Major features that are required for object based programming is/are
i) Data encapsulation ii) Data hiding iii) Automatic initialization iv) operator overloading
A) class
B) objects
C) functions
D) message
A) Scope resolution
B) Conditional
C) New
D) Membership access
A) +
B) ++
C) : :
D) = =
53. The …………………. objects have values that can be tested for various error conditions.
A) osstream
B) ofstream
C) stream
D) ifstream
54. Which function return the current position of the get or put pointer in bytes.
A) tellg( )
B) tellp( )
C) tell( )
D) Both A and B
55. The first index number in an array starts with ………………………. and the index number of an array of
size n will be …………
A) 0, n-1
B) 1, n-1
C) 0, n
D) 1, n
56. To overload an operator ………………… keyword must be used along with the operator to be
overloaded.
A) Over
B) Overload
C) Void
D) Operator
#include<iostream.h>
void main()
{
int n=1;
do
cout <<n<<“t”;
n++;
} while (n<=100);
cout <<endl;
58. Everything defined at the program scope level (ie. outside functions and classes) is said to be
……………
A) local scope
B) regional scope
C) global scope
D) static scope
59. Because the lifetime of a local variable is limited and determined automatically, these variables are
also called ……………………….
A) automator
B) automatic
C) dynamic
D) static
60. ……………. allows that a section of a program is compiled only if the defined constant that is specified
as the parameter has been defined, independently of its value.
A) #ifdef
B) #if
C) #define
D) #ifd
61. Which of the following is/are the header files listed in C++ standard library.
B) i, ii and iv only
62. The C++ header file …………….. contains macros and information for adding diagnostics that aid
program debugging.
A) <cctype>
B) <cassert>
C) <cfloat>
D) <cstdio>
63. …………… is the header file that contains functions prototypes and types for manipulating the time
and date.
A) <ctype.h>
B) <float.h>
C) <time.h>
D) <date.h>
64. The C++ header file ……………….. contains function prototypes for the standard input and standard
output functions.
A) <iomanip>
B) <fstream>
C) <iostream>
D) <cstdio>
65. ……………. is the header file listed in C++ standard library that contains function prototypes for the
stream manipulators that enable formatting of streams of data.
A) <iomanip>
B) <fstream>
C) <iostream>
D) <cstdio>
66. If a class C is derived from class B, which is derived from class A, all through public inheritance, then
a class C member function can access.
69. Mechanism of deriving a class from another derived class is known as ………
A) Polymorphism
B) Single Inheritance
C) Multilevel Inheritance
D) Message Passing
A) friend function
B) virtual function
C) operator overloading
D) function overloading
A) int x;
B) int &x;
C) ptr x;
D) int *x;
A) means the test which is done using some expression is always true
B) is not valid
74. The compilers converts all operands upto to type of the largest operand is called as …………
A) typeconversion
B) expression
C) evaluation
D) precedence
76. What is required in inheritance to initialize the data members of the base class through derived
class?
A) Object declaration
B) Destructor
C) Constructor
D) Inheritance
77. In which case is it mandatory to provide a destructor in a class?
B) Class for which two or more than two objects will be created
78. Which of the statements is true in a protected derivation of a derived class from a base class?
A) Private members of the base class become protected members of the derived class
B) Protected members of the base class become public members of the derived class
C) Public members of the base class become protected members of the derived class
D) Protected derivation does not affect private and protected members of the derived class
79. When the access specifier of the base class in the derived class definition is public, the base class is ..
A) Publicly inherited
B) Protectively inherited
C) Privately inherited
82. The constructor and the destructor of a class are automatically invoked when memory is allocated
and deallocated to an ….
A) Data type
B) Copy constructor
C) Object
A) has no body
B) returns nothing
A) Nested Class
B) Inheritance
C) Containership
D) Encapsulation
B) Pointer
C) Array
86. In compile time polymorphism, compiler is able to select the appropriate function for a particular
call at the compile time itself, which is known as …………
A) early binding
B) static binding
C) static linking
87. ……………. binding means that, an object is bound to its function call at compile time.
A) late
B) static
C) dynamic
D) fixed
88. C++ supports run time polymorphism with the help of virtual functions, which is called ……………..
binding.
A) dynamic
B) run time
C) early binding
D)static
89. State whether the following statements about pointers in C++ are True.
i) A pointer can be incremented (++) or decremented (–)
A) i and ii only
90. ………………. are also known as generic pointers, which refer to variables of any type.
A) void pointers
B) null pointers
C) this pointer
D) base pointer
91. The pointers which are not initialized in a program are called ……………..
A) void pointers
B) null pointers
C) this pointer
D) base pointer
A) void pointer
B) null pointer
C) this pointer
D) object pointer
93. A …………………. refers to an object that that currently invokes a member function.
A) void pointers
B) null pointers
C) this pointer
D) base pointer
94. The …………………. cannot be directly used to access all the members of the derived class.
A) void pointers
B) null pointers
C) this pointer
D) base pointer
95. Run time polymorphism is achieved only when a ……………….. is accessed through a pointer to the
base class.
A) member function
B) virtual function
C) static function
D) real function
96. If a ……………………… is defined in the base class, it need not be necessarily redefined in the derived
class.
A) member function
B) virtual function
C) static function
D) real function
97. …………………………. is a function declared in a base class that has no definition relative to the base
class.
A) member function
B) virtual function
C) pure virtual function
D) pure function
98. State whether the following statements about virtual functions are True or False.
A) True, True
B) True, False
C) False, True
D) False, False
99. The main objective of an abstract base class is to provide some traits to the derived class and to
create a ………………………. required for achieving run time polymorphism.
A) void pointers
B) null pointers
C) this pointer
D) base pointer
100. State whether the following statements about virtual functions is/are True.
A) i and ii only
101. The important application of ………………… is to return the object it points to.
A) void pointers
B) null pointers
C) this pointer
D) base pointer
A) forward
B) pointer
C) callback
D) backward
103. We can manipulate a pointer with the indirection operator (*), which is also known as
……………………
A) reference operator
B) dereference operator
C) direction operator
D) indirection operator
104. Using the ………………………., we can change the contents of the memory location.
A) reference operator
B) dereference operator
C) direction operator
D) indirection operator
105. If we attempt to dereference an uninitialized pointer, it will ………………….. by referring to any other
location in memory.
D) executes
106. The ……………. inherits some or all of the properties of the ……….. class.
A) base, derived
B) derived, base
C) derived, initial
D) base, final
107. A derived class with only one base class is called …………… inheritance.
A) single
B) multiple
C) multilevel
D) hierarchical
108. A class can inherit properties from more than one class which is known as ……….inheritance.
A) single
B) multiple
C) multilevel
D) hierarchical
109. A class can be derived from another derived class which is known as ………. inheritance.
A) single
B) multiple
C) multilevel
D) hierarchical
110. When the properties of one class are inherited by more than one class, which is called ………
inheritance.
A) single
B) multiple
C) multilevel
D) hierarchical
111. When a base class is privately inherited by a derived class public members of the base class become
………. of the derived class.
A) private members
B) protected members
C) Public members
D) Not inherited
112. When a base class is privately inherited by a derived class public members of the base class can
only be accessed by the ……… of the derived class.
A) non-member functions
B) friend functions
C) member functions
D) class members
113. When a protected member is inherited in public mode, it becomes ……….. in the derived class too
and therefore is accessible by member functions of the derived class.
A) protected
B) private
C) public
D) friend
114. State whether the following statements about inheritance are True or False.
i) A public member of a class can be accessed by its own objects using the dot operator.
ii) While inheriting, the private members of the base class will never become the members of its derived
class.
A) True, False
B) False, True
C) True, True
D) False, False
115. A member declared as ………….. is accessible by the member functions within its class and any class
immediately derived from it.
A) protected
B) private
C) public
D) friend
116. When the base class is publicly inherited, public members of the base class become …………. of the
derived class.
A) private members
B) protected members
C) Public members
D) Not inherited
117. In protected derivation, both the public and protected members of the base class become ………….
members of the derived class.
A) protected
B) private
C) public
D) friend
118. What will be the order of execution of base class constructors in the following method of
inheritance.
119. What will be the order of execution of base class constructors in the following method of
inheritance.
120. While the friend functions and the member functions of a friend class can have direct access to
both the private and protected data, the member functions of a derived class can directly access only
the ………… data.
A) protected
B) private
C) public
D) friend
121. In ……………………. inheritance, the constructors are executed in the order of inheritance.
A) multipath
B) multiple
C) multilevel
D) hierarchical
122. In ……………….. inheritance, the base classes are constructed in the order in which they appear in the
deceleration of the derived class.
A) multipath
B) multiple
C) multilevel
D) hierarchical
123. ……………….. inheritance may lead to duplication of inherited members from a ‘grandparent’ base
class.
A) multipath
B) multiple
C) multilevel
D) hierarchical
124. The member functions of a derived class can directly access only the ……………….. data.
125. The friend functions and the member functions of a friend class can directly access the ……………….
data.
D) Conditional operator(?:)
A) member functions
B) Operator functions
C) non-static functions
D) friend functions
A) run time
B) initial time
C) compile time
D) completion time
130) We can overload almost all the C++ operators except the following.
131) Which of the following is the correct order involves in the process of operator overloading.
ii) Create a class that defines the data type that is to be used in the overloading operation.
iii) Declare the operator function op() in the public part of the class.
A) 1-i, 2-ii, 3-iii
132) State whether the following statements are True or False for overloading operators.
A) True, True
B) True, False
C) False, True
D) False, False
133) We cannot use friend functions to overload which of the following operators.
A) i and ii only
D) i and iv only
134) …………… overloaded by means of a member function, take no explicit arguments and return no
explicit values.
A) Unary operators
B) Binary operators
C) Arithmetic operators
D) Function operator
135) ……………. overloaded through a member function take one explicit argument and those which are
overloaded through a friend function take two explicit arguments.
A) Unary operators
B) Binary operators
C) Arithmetic operators
D) Function operator
136) When using ………………., overloaded through a member function, the left hand operand must be an
object of the relevant class.
A) Unary operators
B) Binary operators
C) Arithmetic operators
D) Function operator
137) Operator overloading is done with the help of a special function called ……………, which describes
the special task of an operator.
A) overloading function
C) detail function
D) operator function
138) The compiler does not support automatic type conversions for the ………….. data type.
A) basic
B) user defined
C) class
D) automatic
139) The casting operator function should satisfy which of the following conditions.
A) i and ii only
C) i, iii only
140) The conversion from a class to any other type or any other class should make use of a ………….. in
the source class.
A) casting operator
B) constructor
C) not applicable
D) operator function
141) To perform the conversion from any other data type or class to a class type, a ………….. should be
used in the destination class.
A) casting operator
B) constructor
C) not applicable
D) operator function
142) The general form of an overloaded casting operator function usually referred to as a ……………..
A) casting function
B) operator function
C) conversion function
D) overloaded function
143) Operator overloading provides a flexible option for the creation of new …………….. for most of the
C++ operations.
A) class
B) function
C) object
D) definitions
144) In the case of …………….. function, arguments may be passed either by value or by reference.
A) private
B) friend
C) member
D) public
145. C++ provides a special ………………… called the constructor, which enables an object to initialize itself
when it is created.
A) friend function
B) member function
C) public function
D) private function
A) variable
B) object
C) function
D) name
A) define variables
B) allocate variables
C) initialize variables
D) initialize object
148. A constructor that accepts no parameters is called the …………….
A) default constructor
B) parameterized constructor
C) implicit constructor
D) null constructor
149. Constructors cannot be inherited, through a derived class can call the ………………. constructor.
A) base class
B) derived class
C) void class
D) default class
150. State whether the following statements about the constructor are True or False.
ii) constructors are invoked automatically when the objects are created.
A) True, True
B) True, False
C) False, True
D) False, False
151. The constructors that can take arguments are called …………… constructors.
A) default constructor
B) parameterized constructor
C) implicit constructor
D) argument constructor
152. When an object is created and initialized at the same time, a ………………. gets called.
A) default constructor
B) parameterized constructor
C) implicit constructor
D) copy constructor
153. In C++, ……………………. creates objects, even through it was not defined in the class.
A) default constructor
B) parameterized constructor
C) implicit constructor
D) copy constructor
154. …………….. constructor will not do anything and defined just to satisfy the compiler
A) default
B) parameterized
C) implicit
D) copy
155. The ………………… constructor can be called with either one argument or no arguments.
A) default
B) default argument
C) implicit
D) copy
156. A ………………….. is used to declare and initialize an object from another object.
A) default constructor
C) implicit constructor
D) copy constructor
157. A ……………. takes a reference to an object of the same class as itself as an argument.
A) default constructor
C) implicit constructor
D) copy constructor
158. Destructor is a member function whose name is same as the class name but is preceded by a ………..
A) tilde
B) hash
C) dot
D) dollor
159. A destructor is used to destroy the objects that have been created by a ………………..
A) object
B) class
C) function
D) constructor
160. Whenever const objects try to invoke non-const member functions, the compiler …………………
B) return null
C) generate error
D) return no value
161. Allocation of memory to objects at the time of their construction is known as ……………. of objects.
B) dynamic construction
C) initial construction
D) static construction
A) copy process
B) copy registration
C) copy initialization
D) initialization process
163. ……………….. provides the flexibility of using different format of data at runtime depending upon the
situation.
A) dynamic initialization
C) static initialization
D) variable initialization
A) class
B) object
C) function
D) variable
165. In C++, the declaration of functions and variables are collectively called …….
A) class members
B) function members
C) object members
D) member variables
166. The keywords private and public used in C++ are known as ………….
A) keyword labels
B) visibility labels
C) declaration labels
D) display labels
167. The variables declared inside the class are known as data members and functions are known as
………….
A) data functions
B) inline functions
C) member functions
D) member variables
168. Only the …………………. can have access to the private members and private functions.
A) data functions
B) inline functions
C) member functions
D) member variables
169. The binding of data and functions together into a single class-type variable is referred to as …………..
A) encapsulation
B)
C)
D)
170. Which of the following statements about member functions are True or False.
i) A member function can call another member function directly with using the dot operator.
ii) Member function can access the private data of the class.
A) i-True, ii-True
B) i-False, ii-True
C) i-True, ii-False
D) i-True, ii-True
A) data function
B) inline function
C) member function
D) member variable
172. A member function can be called by using its name inside another function of the same class,
which is known as ………… of member function.
A) sub function
B) sub member
C) nesting
D) sibling
172. A ………………. member function can only be called by another function that is member of it’s class.
A) friend
B) static
C) public
D) private
173. ……………….. member variable is initialized to zero when the first object of its class is created where
no other initialization is permitted.
A) friend
B) static
C) public
D) private
174. State whether the following statements are True or False about the characteristics of static data
members.
i) Only one copy of static member is created for the entire class and is shared by all the objects of that
class, no matter how many objects are created.
ii) Static member variable is visible only within the class, but its lifetime is the entire program.
A) i-True, ii-True
B) i-False, ii-True
C) i-True, ii-False
D) i-True, ii-True
175. Static variables are associated with the class itself rather than with any class object, they are also
known as …………….
A) class variables
B) object variables
C) function variables
D) internal variables
176. Static variables are like ………………… as they are declared in a class declaration and defined in the
source file.
177. A …………….. can have access to only other static members declared in the same class.
D) friend function
178. A static member function can be called using the ………………… instead of its objects.
A) variable name
B) function name
C) Class name
D) object name
179. While using an object as a function argument, a copy of the entire object is passed to the function
in ………….. method.
A) pass-by-value
B) pass-by-reference
C) pass-by-variable
D) pass-by-function
180. A ……………………., although not a member function, has full access rights to the private members of
the class.
D) friend function
181. ……………. can be invoked like a normal function without the help of any object.
D) friend function
182. A ………….. can only be called by another function that is member of its class.
D) friend function
183. If a member function does not alter any data in the class, that may be declared as ………………..
D) friend function
184. In C++, we can give several meanings to an operator, depending upon the types of arguments used,
which was known as …………..
A) Operator variable
B) Operator overloading
C) Operator loading
D) Operator manipulation
185. Which of the following is/are the pointer-to-member operator used in C++.
A) i and ii only
C) i and iv only
A) : :
B) : : *
C) _>*
D) . *
A) pointer-to-member
B) memory release
C) scope resolution
D) line feed
187. A major application of the ………………… operator is in the classes to identify the class to which a
member function belongs.
A) pointer-to-member
B) memory release
C) scope resolution
D) line feed
188. ……………….. operator is used to access a member using a pointer to the object and a pointer to that
member.
A) : :
B) : : *
C) _>*
D) . *
A) : :
B) : : *
C) _>*
D) . *
190. The ………………. operator allocates sufficient memory to hold a data object type data type and
returns the address of the object.
A) malloc()
B) calloc()
C) new
D) free()
191. The expression …………….. will delete the entire array pointed to by p.
A) delete all p;
B) delete array p;
C) delete * p;
D) delete[ ] p;
192. The ……………… operator automatically returns the correct pointer type, so that there is no need to
use a type cast.
A) new
B) delete
C) malloc()
D) setw
193. The …………….. manipulator is used in an output statement which causes a linefeed to be inserted.
A) setw
B) delete
C) endl
D) symbol
194. Which of the following is/are the new cast operators used in C++.
195. A/An …………………. is a combination of operator, constants and variables arranged as per the rules
of the language.
A) token
B) expression
C) structure
D) none
197. ……………………. produce results of type bool which takes a value true or false.
A) Relational expressions
B) Float expressions
C) Logical expressions
D) Bitwise expressions
198. ……………… combine to or more relational expressions and produces bool type results.
A) Relational expressions
B) Float expressions
C) Logical expressions
D) Bitwise expressions
199. The ………………… is an entry-enrolled loop and is used when an action is to be repeated for
predetermined number of times.
A) while
B) for
C) do-while
D) switch
200. The ………………….. is an exit-enrolled loop where the control is transferred back to a particular point
in the program.
A) while
B) for
C) do-while
D) switch
possible points.
A) while
B) for
C) do-while
D) switch
202. The operator ………………… is known as compound assignment or short-hand assignment operator.
A) =
B) = =
C) += =
D) +=
203. C++ provides various types of …………………… tokens that includes keywords, identifiers, constants,
strings and operators.
A) tokens
B) expressions
C) structures
D) none
204. …………………. refer to the names of variables, functions, arrays, classes etc. created by programmer.
A) Keywords
B) Identifiers
C) Constants
D) Strings
205. ………………….. are explicitly reserved identifiers and cannot be used as names for the program
variables or other user defined program elements.
A) Keywords
B) Identifiers
C) Constants
D) Strings
206. State whether the following statements are True or False for C++ identifiers.
i) Only alphabetic characters, digits and underscores are permitted.
207. In C++, ………………….. refer to fixed values that do not change during the execution of a program.
A) Identifiers
B) Constants
C) Strings
D) Operators
208. C++ provides an additional use of …………………….., for declaration of generic pointers.
A) int
B) float
C) void
D) double
209. The ……………………. data type was used to specify the return type of a function when it is not
returning any value.
A) int
B) float
C) void
D) double
210. A ………………….. can be assigned a pointer value of any basic data type, but it may not de-
referenced.
A) int pointer
B) void pointer
C) generic pointer
D) non-void pointer
211. Which of the following is NOT the user defined data type in C++.
A) Structure
B) Pointer
C) Union
D) Class
212. Which of the following is/are the derived data types in C++.
11. In the case of ……………………… in C++, we can not modify the address that the pointer is initialized.
A) constant pointer
B) pointer to a constant
C) pointer constant
D) constant to a pointer
213. In the case of ………………………. in C++, contents of what it points to cannot be changed.
A) constant pointer
B) pointer to a constant
C) pointer constant
D) constant to a pointer
214. Which of the following is the correct way of declaring constant pointer in C++.
215. Which of the following is the correct way of declaring pointer to a constant in C++.
216. We can create …………………….. in C++ using the qualifier constant and defining a set of integer
constant using enum keywords.
A) basic constant
B) number constant
C) symbolic constant
D) named constant
217. The …………………… are just like variables except that their values cannot be changed.
A) basic constant
B) number constant
C) symbolic constant
D) named constant
218. ………………… are widely used in C++ for memory management and to achieve polymorphism.
A) Pointers
B) Array
C) Function
D) Class
219. C++ permits initialization of the variables at run time which is referred to as ……………….
initialization.
A) static
B) dynamic
C) variable
D) runtime
220. …………………….. used in C++ provides an alias (alternative name) for a previously defined variables.
A) alias
B) alternative
C) defined
D) reference
A) initialization
B) declaration
C) running
D) definition