#include<iostream>
#include<string.h>
using namespace std;
int main()
{
char s[100000];
cin>>s;
cout<<strlen(s);
return 0;
}
In this Program,character array takes input upto length 4095. Bigger than this length it does not take input. Please provide reason for this problem.