how to find string length wihtout using c function?
Answer Posted / ivr
char *a="india";
for(i=0;a[i]!='\0';i++);
printf("the length is :%d",i);
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
all c language question
What is floating point constants?
Give differences between - new and malloc() , delete and free() ?
Is return a keyword in c?
What is the difference between test design and test case design?
Why can’t we compare structures?
Between macros and functions,which is better to use and why?
What is the difference between fread buffer() and fwrite buffer()?
What are preprocessor directives in c?
What are local variables c?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What are variables c?
what is stack , heap ,code segment,and data segment
What does main () mean in c?