Simple question concerning input. Say I declare a buffer to be of size 1024, and I'm sure that the input will almost always be less than that.
My question is if I plan to work a lot with that buffer, will I need to initialize it to null characters to avoid getting garbage after processing?