If you don't guard against overflow, it will do one of two things:
Print the entire string up to the length of the specified buffer, or it will cause a segmentation fault because it overwrote the return pointer from the function.
This is assiuming you're using a printf call.
__________________  <br>
Its a frigging Laptop, not a Labtop!!!! |