Salmon Recipe
waveinscriber.com·6w·
Discuss: Hacker News

Some time ago while scrolling YouTube shorts I stumbled upon an interesting piece of C code.

Salmon recipe source code

At first glance it looks like the program just prints the square of integers from 1 to 10. Instead it actually prints a simple grilled salmon recipe.

Salmon recipe output

It was written by Adrian Cable who became one of the winners of the 28th IOCCC (International Obfuscated C Code Contest) with this entry. When I first looked at the source code in GitHub the only things suspicious to me were the pointer salmon and the macro grill th…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help