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
What is union and structure in c?
How are structure passing and returning implemented?
What are void pointers in c?
What is array within structure?
Can we change the value of #define in c?
Why is struct padding needed?
What is a protocol in c?
What is a 'null pointer assignment' error?
Explain which function in c can be used to append a string to another string?
Why do we use & in c?
Can we assign string to char pointer?
hi send me sample aptitude papers of cts?
What is a constant?
What are the types of pointers?
Why c is called top down?