Студопедия

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

Разделы сайта

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






D. All are possible






59. Which of the following is a valid inline for function foo?

A. inline void foo() {}

 

60. What is the output of this program?

 

A) execute

 

61. What is the correct way to print integer sum to the screen?

a) cout< < sum< < endl;

 

62. Where does the object is created?

A) class

63. How to access the object in the class?

C) direct member access operator

 

64. What is the output of the following program?

B) 213

 

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

 

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

D) all of the mentioned

68. What is the output of this program?

A) 6

 

69. How to declare operator function?

A) operator operator sign

 

 

70. What is the output of this program?

A) 10 10

 

71. Operator overloading is

d) both a & b

72. What is the output of this program?

 






© 2023 :: MyLektsii.ru :: Мои Лекции
Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав.
Копирование текстов разрешено только с указанием индексируемой ссылки на источник.