#includestdio.h#includeconio.hvoid main(){ char str[50]; int i,n; printf("Enter the string\n"); gets(str); for(i=0;str[i]!=0;i++) { n = i; } printf("The length of the string is = %d\n",n+1);}
Not registered? Create an account
Forgot Password?
Already a registered user? Login