[c] Finding the length of a Character Array in C