Only Way to Multiply in C
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; }
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.
social media post / пост в соцсетиprofile avatar / аватар профиляtext caption / текстовая подписьcode block / блок кодаcomputer programming / компьютерное программированиеC code / код на Ctwo-dimensional array / двумерный массивletters / буквыdark interface / тёмный интерфейсrounded rectangle / скруглённый прямоугольник
#programming#программирование#c language#язык c#coding#кодинг#software developer#разработчик#computer science#информатика#programmer humor#юмор программистов#coding meme#мем про кодинг#tech joke#техническая шутка#array#массив#multiplication#умножение#c quirks#странности c#reaction#реакция#screenshot#скриншот#meme#мем
- @right_wing_dev_squads / 598 2020-11-18
- Type
- image
- Size
- 578×351 · 18.0 KiB
- Mood
- sarcastic, absurd
- Language
- en
- Added