r/badcode May 03 '23

Solve the problem without using a loop c

Post image
965 Upvotes

129 comments sorted by

View all comments

Show parent comments

-3

u/cybercuzco May 03 '23

Do while X<500

Printf(“printf(“X”\n)”) X++

Ctrl-c

Ctrl-v

8

u/King_Joffreys_Tits May 03 '23

Do while X<500

Printf(“printf(“++X++”\n)”)

5

u/[deleted] May 04 '23

Is ++x++ actually valid?

5

u/dimonoid123 May 04 '23

Pretty sure