0
Can we write a program which is equivalent to string. length(); without using it.
dont use any string function.
1 Answer
0
There are a few unconventional ways but not exactly short. For one, you can extract characters in a loop and count the number of characters.