Студопедия

Главная страница Случайная страница

КАТЕГОРИИ:

АвтомобилиАстрономияБиологияГеографияДом и садДругие языкиДругоеИнформатикаИсторияКультураЛитератураЛогикаМатематикаМедицинаМеталлургияМеханикаОбразованиеОхрана трудаПедагогикаПолитикаПравоПсихологияРелигияРиторикаСоциологияСпортСтроительствоТехнологияТуризмФизикаФилософияФинансыХимияЧерчениеЭкологияЭкономикаЭлектроника






A) class






b) constructor

c) destructor

d) attributes

 

63. How to access the object in the class?

a) scope resolution operator

b) ternary operator

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


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

mylektsii.su - Мои Лекции - 2015-2024 год. (0.006 сек.)Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав Пожаловаться на материал