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
`write a program to display the recomended action depends on a color of trafic light using nested if statments
Why c is called free form language?
Explain what is the difference between the expression '++a' and 'a++'?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
What is a pointer in c?
What is the difference between procedural and declarative language?
What are structures and unions? State differencves between them.
In C language what is a 'dangling pointer'?
Who invented bcpl language?
What is c++ used for today?
What is the size of enum in c?
Why can’t we compare structures?
What is difference between array and pointer in c?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
explain what are actual arguments?