C) direct member access operator



d) none of the mentioned

 

64.  What is the output of the following program?

a) 210

B) 213

c) 215

d) 217

 

65. How many objects can present in a single class?

a) 1

b) 2

c) 3

d) as many as possible

 

66. What is the output of this program?

A) 10

b) 11

c) 20

d) 22

 

67. Void pointer can point to which type of objects?

a) int

b) float

c) double

D) all of the mentioned

68. What is the output of this program?

A) 6

b) 5

c) 4

d) 7

 

69. How to declare operator function?

A) operator operator sign

b) operator

c) operator sign

d) None of the mentioned

 

70. What is the output of this program?

A) 10 10

b) 11 11

c) error

d) runtime error

 

71. Operator overloading is

a) making c++ operator works with objects

b) giving new meaning to existing operator

c) making new operator

d) both a & b

72. What is the output of this program?

 

A) 8, memory address

b) 8.14

c) memory address

d) none of the mentioned

 

73. Which refrence modifier is used to define reference variable?

a) &

b) $

c) #

d) none of the mentioned

 

 

74. What is the output of this program?

A) In swap 105 In main 105

b) In swap 105 In main 510

c) In swap 510 In main 105

d) none of the mentioned

 

75. What is the output of this program?

a) 15 18 21

B) 21 21 21

c) 24 24 24

d) Compile time error

 

76. Which can be can be used to create a random number without duplication?

a) Character

B) Time

c) Both a & b

d) None of the mentioned

 

77. Which character is used to terminate the string?

a) $

B) Null

c) Empty

d) None of the mentioned

 

78. What is the output of this program?

a) Steve Jobs

b) Apple

C) Jobs Apple Steve

d) None of the mentioned

 

79. How many sizes do integers come in?

a) 1

b) 2

C) 3

d) 4

 

80. In which type does the enumerators are stored by the compiler?

a) string

B) integer

c) float

d) none of the mentioned

 

 


Дата добавления: 2018-05-12; просмотров: 259; Мы поможем в написании вашей работы!

Поделиться с друзьями:






Мы поможем в написании ваших работ!