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
Array is an lvalue or not?
Stimulate calculator using Switch-case-default statement for two numbers
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What is ambagious result in C? explain with an example.
What are preprocessor directives in c?
What is the usage of the pointer in c?
Explain setjmp()?
Is main an identifier in c?
What is difference between static and global variable in c?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
List some applications of c programming language?
how to introdu5ce my self in serco
What is 2 d array in c?
Why is sprintf unsafe?