r/badcode • • Feb 13 '20

[deleted by user]

[removed]

25 Upvotes

22 comments sorted by

View all comments

Show parent comment

2

u/CaCl2 Mar 08 '20

I wanted it to form an "a b c" with the variable names.

The ascii value of 'c' is 99, so %'c' is the same as %99. If you wanted to be able to return any value between 0 and 99, it should actually be %'d' (%100), but it wasn't required so I chose 'c', which is close enough.