memesearch
Триграфы доступны или нет

Триграфы доступны или нет

Download Find similar pictures
Text on the meme
bool trigraphs_are_available() { // Are trigraphs available??/ return false; return true; }
What it means

На тёмном фоне показан фрагмент кода на C/C++, где функция с названием «trigraphs_are_available» сначала возвращает false, а затем true. Комментарий заканчивается последовательностью «??/», которая в C и C++ превращается в обратную косую черту и экранирует перевод строки, поэтому следующая строка фактически продолжает комментарий. Шутка основана на неожиданном поведении триграфов и противоречивом результате функции. EN: A code fragment in C/C++ is shown on a dark background, with a function named “trigraphs_are_available” first returning false and then true. The comment ends with the sequence “??/”, which becomes a backslash in C and C++ and escapes the line break, so the next line effectively continues the comment. The joke relies on the surprising behavior of trigraphs and the contradictory function result.

Objects
Tags
Source
Type
image
Size
800×229 · 18.7 KiB
Mood
ироничный
Language
en
Added