/
Messus
/
Algorithms
Обзор
Документация
Войти
/
Messus
/
Algorithms
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
fix_array.c
24 строки
471 B
Messus
utf-8
03 мар 2026, 11:45
03 мар 2026, 11:45
67a2dd3
Код
Авторство
О чём код?
//fix_array.c --- ������ ����������� #include <stdio.h> #include <locale.h> #include <windows.h> #define SIZE 8 int main() { setlocale(LC_ALL, ""); SetConsoleCP(1251); SetConsoleOutputCP(1251); int array [SIZE] = {12,13,14,15,16}; char Sstream [SIZE] = {'A', 'n', 'd', 'r', 'e', 'y', '\0'}; char words [SIZE] = "Ivan"; //������ \0 ������������� �������� printf ("%d\n", array[4]); printf ("%c\n", Sstream [0]); printf ("%c\n", words[0]); return 0; }