how to find string length wihtout using c function?
Answer Posted / ankitecian
int StrLen(const char *_input)
{
int _len = 0;
while( *(_input + _len) != NULL)
{
_len++;
}
return _len;
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain what does the format %10.2 mean when included in a printf statement?
Explain how do you list files in a directory?
What is the use of bitwise operator?
Can you please explain the difference between malloc() and calloc() function?
What do you mean by dynamic memory allocation in c? What functions are used?
Can one function call another?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
explain what is an endless loop?
Stimulate calculator using Switch-case-default statement for two numbers
What are multidimensional arrays?
why programs in c are running with out #include
where are auto variables stored? What are the characteristics of an auto variable?
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
Describe the steps to insert data into a singly linked list.
What is a program flowchart?