Structure and built-in function in C++

Let us see the String length Program Using Structure and built-in function in C++.

Structure and built-in function in C++

Output

please enter your desired string

Hi

The length of your desired string is: 2