r/badcode • • Jan 30 '20

[deleted by user]

[removed]

78 Upvotes

57 comments sorted by

View all comments

Show parent comment

2

u/CaCl2 Jan 31 '20 edited Jan 31 '20

9998, actually.

The last one has to indicate the end of the string to avoid segfault.

1

u/balenol Jan 31 '20

Ah yes, null char.