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.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is the c language function prototype?

0 Answers  


what is pointer ?

10 Answers   Kernex Micro Systems,


what is difference between userlevel threads and kernel level threads ?what are the trades offs between these two approaches ? what approach is most frequently used and why ?

1 Answers  


What is #line used for?

0 Answers  


write a c program to check weather a particluar bit is set or not?

5 Answers   IBM,


How do you write a program which produces its own source code as output?

0 Answers  


What is keyword in c?

0 Answers  


main() { int a=0; if(a=0) printf("Ramco Systems\n"); printf("India\n"); } output?

7 Answers   Ramco,


Tell me what are bitwise shift operators?

0 Answers  


I have an array of 100 elements. Each element contains some text. i want to: append a star character to the end of every fifth element remove every second character from every tenth element, and… add a line feed (ascii 10) after the 30th character of every array element whose length is greater than 30 characters.

1 Answers  


What is a macro in c preprocessor?

0 Answers  


Is there any demerits of using pointer?

0 Answers  


Categories