memesearch
Only Way to Multiply in C

Only Way to Multiply in C

Download Find similar pictures
Text on the meme
so weird that this is the only way to multiply in C int mult(int m, int n) { char a[m][n]; return sizeof a; }
What it means

A screenshot shows a programming post claiming that declaring a variable-length two-dimensional char array and taking sizeof it is the only way to multiply in C. The joke is that the code exploits the language’s array-size behavior to perform multiplication in an absurdly indirect way, poking fun at C’s quirks and readability. EN: A screenshot shows a programming post claiming that declaring a variable-length two-dimensional char array and taking sizeof it is the only way to multiply in C. The joke is that the code exploits the language’s array-size behavior to perform multiplication in an absurdly indirect way, poking fun at C’s quirks and readability.

Objects
Tags
Source
Type
image
Size
578×351 · 18.0 KiB
Mood
sarcastic, absurd
Language
en
Added