Какой оператор используется для выделения динамической памяти в C++?
C++ Обобщение

Quiz
•
Computers
•
10th Grade
•
Medium
Алена Алена
Used 3+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
new
malloc
allocate
create
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой оператор используется для освобождения памяти, выделенной с помощью new?
free
delete
release
dispose
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Какой из следующих вариантов заголовка функции является правильным для передачи адреса в функцию?
void func(int *ptr)
void func(vector <int> ptr)
void func(int ptr)
Все вышеперечисленное
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой из следующих вариантов является правильным способом выделения памяти для одной переменной?
int *ptr = new int;
int ptr = new int;
int *ptr = malloc(sizeof(int));
int ptr = malloc(sizeof(int));
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Именно такое объявление переменной в языке С++ является НЕ правильным
int x;
int x = 0;
x: int;
нет правильного ответа
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
В языке С++ строковые литеральные константы представляют собой...
одиночный символ, заключенный в апострофы, например
'w', 'g' или '7'
последовательность символов, заключенную в двойные кавычки, например "Это строка";
последовательность цифр, не начинающуюся с 0, например
23, 2003
нет правильного ответа
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Укажите правильное описание массива...
int a[n];
a int {n};
int a(n);
a [int] n;
Create a free account and access millions of resources
Similar Resources on Quizizz
11 questions
Списки

Quiz
•
10th Grade
19 questions
Python: списки и матрицы

Quiz
•
10th Grade
10 questions
X_Пон_мас_ариф

Quiz
•
9th - 12th Grade
10 questions
Программирование C#

Quiz
•
1st - 10th Grade
17 questions
Сортировки и асимптотика

Quiz
•
9th - 12th Grade
17 questions
Что такое система.

Quiz
•
10th Grade
10 questions
Цифровые носители информации

Quiz
•
7th - 10th Grade
13 questions
Процессоры

Quiz
•
7th - 10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University