The following code reads one string, and prints the length of that without using strlen():
#include #include int main(){ char s[20]; gets(s); printf(" %d ",printf("%s",s));/*return type of printf() is int. so itreturns the number of characters it prints.*/}
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.























