(integrity + compounding) ++ infinite loop
#include <stdio.h>
#include <unistd.h>
//compile with: gcc -Wall -Wextra cc-c.c -o cc-c
//infinite loop, as generated by Groq (openai/gpt-oss-120b) -- "while (1)"
//never becomes false on its own, so nothing inside ever breaks out; the
//only way to stop it is Ctrl+C (SIGINT) in the terminal it's running in
int main(void)
{
int i = 0;
while (1) {
printf("(integrity + compounding) ++... (%d)\n", i++);
fflush(stdout);
sleep(1);
}
return 0;
}
win@DESKTOP-MEIH88T:~/webdev-projects$ gcc -Wall -Wextra cc-c.c -o cc-c win@DESKTOP-MEIH88T:~/webdev-projects$ ./cc-c (integrity + compounding) ++... (0) (integrity + compounding) ++... (1) (integrity + compounding) ++... (2) (integrity + compounding) ++... (3) (integrity + compounding) ++... (4) (integrity + compounding) ++... (5) (integrity + compounding) ++... (6) (integrity + compounding) ++... (7) (integrity + compounding) ++... (8) (integrity + compounding) ++... (9) ^C
厥孚复利
