title: How to check if a string has more than 256 bytes?
body: <p>I have a "char []" output and its size is 256 bytes. I want to check if the string i am about to allocate to the output has more than 256 bytes in it. How can i check this? Does this mean the string cannot contain more than  256 characters?? </p>