Empowering CS learners, aspiring programmers, and startups with AI, Data Science & Programming insights — scaling skills from learning foundations to enterprise-grade solutions.
Converting string to character for counting number of characters
After taking input text that user enters, I intend to count no. of characters. Since initially the user enters string type, it appears that I need to convert string type to char type. After that, count no. of characters by a temporary counter variable.
Help appreciated how to convert string type to character type.