Let\'s say I got a string with the size of ten. how can I prevent an overflow when I scanf a string from the user? (i.e. if he types "hello world!!" , it would ju