Write the following function in C.
stripos — Find position of first occurrence of a case-
insensitive string
int stripos ( char* haystack, char* needle, int offset )
Returns the numeric position of the first occurrence of
needle in the
haystack string. Note that the needle may be a string of
one or more
characters. If needle is not found, stripos() will return -
1.
The function should not make use of any C library function
calls.
Answer Posted / amixcode
Hi "VadivelT" can u please why there is "-32" in the answer ??
i googled lot but didnt found the aswer.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are lookup tables in c?
How can you find out how much memory is available?
What is console in c language?
How are portions of a program disabled in demo versions?
Why double pointer is used in c?
Tell me about low level programming languages.
What does nil mean in c?
What is the difference between arrays and pointers?
Explain the difference between null pointer and void pointer.
Which type of language is c?
What is volatile, register definition in C
Difference between MAC vs. IP Addressing
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
all c language question
Can a void pointer point to a function?