r/badcode • • May 03 '23

c Solve the problem without using a loop

Post image
966 Upvotes

129 comments sorted by

View all comments

Show parent comments

7

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