How to find length of a given string (character array) in c++

Опубликовано: 11 Апрель 2026
на канале: SiddSoft
524
like

How to find length of a given string (character array) in c++

In this video, I explain and demonstrated with example that how to find length of string / character array

In c or c++ language, here string is an array of characters in older versions of c and c++, but early as new versions of c++ comes data type 'string' has been introduced.


character is a fundamental data type of c++, therefore we can use character array to represent a string in older version (if you have visual studio then you can simple declare variable as a string data type)

(Note : 2-Dimension array represents array of string or we can say it groups of string)

If you not downloaded Turbo c IDE then watch this out
The link :-    • How to download and install Turbo C++ in d...  

For program visit my github account
The link :-https://github.com/siddhantPanchal/yo...

For Algorithm of this program then visit by post
The link :- https://cpluspluswithsidd.blogspot.co...