For a char [] , I can easily get its length by: char a[] = "aaaaa" ... You can't. Not with 100% accuracy, ...
stackoverflow.com