
Вопрос 1 Какого из следующих типов не существует в C++?AintBfloatCdoubleDrealEcharВопрос 2Какое
имя переменной является не допустимым?AvarBReturnCg5llDdoubleEvar_ableВопрос 3С помощью какого оператора осуществляется ввод переменных?AcinBreadCnewВопрос 4Какое из следующих чисел задает корректное дробное число в C++?A1/4B0,25C0 25D0.25E0`25помогите!!!!

Ответы на вопрос

Ответ:
1)D real
2)C g5ll
3)A cin
4)D 0,25



Question 1: Какого из следующих типов не существует в C++?
A) int B) float C) double D) real E) charThe correct answer is D) real. The "real" type does not exist in C++. The available numeric types in C++ are int, float, double, and char. [[1]]
Question 2: Какое имя переменной является недопустимым?
A) var B) Return C) g5ll D) double E) var_ableThe correct answer is B) Return. "Return" is not a valid variable name in C++ because it is a reserved keyword used for returning values from functions. Variable names in C++ must follow certain rules, such as starting with a letter or underscore and consisting of letters, digits, or underscores. [[2]]
Question 3: С помощью какого оператора осуществляется ввод переменных?
A) cin B) bread C) newThe correct answer is A) cin. In C++, the "cin" operator is used for input operations. It allows you to read input from the user and store it in variables. For example, you can use "cin" to read an integer value entered by the user and assign it to an integer variable. [[3]]
Question 4: Какое из следующих чисел задает корректное дробное число в C++?
A) 1/4 B) 0,25 C) 0 25 D) 0.25 E) 0`25The correct answer is D) 0.25. In C++, the decimal separator is a dot (.), not a comma (,). Therefore, the correct way to represent a decimal number in C++ is using a dot as the decimal separator. For example, 0.25 represents the decimal number 0.25 in C++. [[4]]
I hope this helps! Let me know if you have any further questions.


Похожие вопросы

Топ вопросов за вчера в категории Информатика
Последние заданные вопросы в категории Информатика
-
Математика
-
Литература
-
Алгебра
-
Русский язык
-
Геометрия
-
Английский язык
-
Химия
-
Физика
-
Биология
-
Другие предметы
-
История
-
Обществознание
-
Окружающий мир
-
География
-
Українська мова
-
Информатика
-
Українська література
-
Қазақ тiлi
-
Экономика
-
Музыка
-
Право
-
Беларуская мова
-
Французский язык
-
Немецкий язык
-
МХК
-
ОБЖ
-
Психология
-
Физкультура и спорт
-
Астрономия
-
Кыргыз тили
-
Оʻzbek tili