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

Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

0 Answers   Zoho,


What is the use of pragma in embedded c?

0 Answers  


explain what is fifo?

0 Answers  


What does main () mean in c?

0 Answers  


What is a example of a variable?

0 Answers  


what is use of malloc and calloc?

0 Answers  


write a c program for greatest of three numbers without using if statment

4 Answers   IBM,


What does sizeof function do?

0 Answers  


Describe advantages and disadvantages of the various stock sorting algorithms

1 Answers   Microsoft,


Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;

2 Answers   Lucent,


is it possible to change the default calling convention in c ?

1 Answers   Aptech,


how to implement stack operation using singly linked list

2 Answers  


Categories