how to find string length wihtout using c function?
Answer Posted / ramesh
# include <stdio.h>
# include <conio.h>
void main()
{
int i;
char sring[100];
printf("ENTER THE STRING :");
gets(string);
for(i=1;string[i];i++);
printf("LENGTH IS : %d",i);
}
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is identifiers in c with examples?
What is extern keyword in c?
How do you declare a variable that will hold string values?
How do we print only part of a string in c?
What is printf () in c?
Is fortran still used in 2018?
Is malloc memset faster than calloc?
Why pointers are used?
How many header files are in c?
What do you mean by a sequential access file?
What is malloc and calloc?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
given post order,in order construct the corresponding binary tree
What is meant by operator precedence?
i got 75% in all semester am i eligible for your company