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 dangling pointer in c?
What are all different types of pointers in c?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
Why isn't it being handled properly?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
Disadvantages of C language.
Is file a keyword in c?
Is python a c language?
What is wild pointer in c with example?
What are pointers? What are stacks and queues?
What is the total generic pointer type?
Difference between constant pointer and pointer to a constant.
Which is the best website to learn c programming?
What is your stream meaning?
Explain how do you determine a file’s attributes?