DEV Community

Amirshokh
Amirshokh

Posted on • Edited on

Язык программирования Си. Глава(Chapter) 7

  1. Операторы ветвления(branching) или выбора(selection): if, else, ?:(ternary), continue(работает внутри switch, если внешний оператор - цикл), break, switch(используется с целочисленными значениями), case(множество меток или Multiple Labels), default(не обязателен), goto(обычно нежелателен, поэтому заменяется)

  2. Образование пар(paring) else и if, вложенные(nested) операторы if и флаги

  3. Функционально подобные(function-like) макросы препроцессора getchar() и putchar() в stdio.h

  4. Семейство функций и макросов для обработки символов: isalnum(), isalpha(), isdigit(), islower(), isupper(), isspace(), ispunct(), tolower(), toupper() в ctype.h

  5. Логические операции(являются точкой следования) !, &&, || или not, and, or в iso646.h и порядок(слева направо) и правило(прекращение вычисления, если элемент превращает всё выражение в ложное или истинное) их вычисления

Язык программирования Си 6 издание. Стивен Прата
C Primer Plus 6th edition. Stephen Prata

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay