memesearch
C90 Comment Style Trick

C90 Comment Style Trick

Download Find similar pictures
Text on the meme
C90 does not have // style comments, we can differentiate C90 from C99, C11 and C++: #include <stdio.h> int main() { int i = 2 /**/ /2 ; printf( "%d\n", i ); // 1 in C90 // 2 in C99, C11 and C++ return 0; }
What it means

A C code snippet uses the block comment /**/ and a line break to make the expression parse differently in C90 versus C99, C11, and C++. The joke is aimed at programmers who enjoy obscure language-standard trivia and is shared as a nerdy, absurd coding reaction. EN: A C code snippet uses the block comment /**/ and a line break to make the expression parse differently in C90 versus C99, C11, and C++. The joke is aimed at programmers who enjoy obscure language-standard trivia and is shared as a nerdy, absurd coding reaction.

Objects
Tags
Source
Type
image
Size
716×252 · 15.1 KiB
Mood
nerdy, absurd
Language
en
Added