C++ Program to Find Length of String
Example:
#include<iostream>
#include<string.h>
using namespace std;
int main()
{
char str[200] = "webisworld";
cout<<"Length: " << strlen(str);
return 0;
}
Output:
Length: 10
Share this page on:
Subscribe Email Updates
to get latest update