+ 8
Programming Joke
Two strings walk into a bar and sit down. The bartender says, âSo whatâll it be?â The first string says, âI think Iâll have a beer quag fulk boorg jdk^CjfdLk jk3s d#f67howe%^U r89nvy~~owmc63^Dz x.xvcuâ âPlease excuse my friend,â the second string says, âHe isnât null-terminated.â
3 Answers
+ 7
Simply that when you don't null terminate your string, you get random memory garbage that follows the string in RAM. Without null at the end the compiler doesn't know where the string ends.
+ 6
good one đ
+ 4
Who else is too stupid to get it?
Just me? Ok...better start learning something then!
I appreciate the joke anyway