C++
#define ever ;; int main() { for(ever); }
int main() { for (unsigned i = 341; i > 0; --i) { printf("%u\n", i--); } }
int main() { float f = 1.0f; while (f < 16777218.2f) { printf("%f\n", f); f += 1; } }
assembler
main: .L2 jmp .L2
C
int main(void) { int b=0, a[] = {0,1}; while (b != (!b)[a]) { printf("%i\n", b=!a[b]); } }
int main(void) { https://dev.to goto https; }
This is far the best 👍
very nice friend!!
I really like the last one. Defining a label to a comment - nice :D
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
C++
assembler
C
This is far the best 👍
very nice friend!!
I really like the last one. Defining a label to a comment - nice :D