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

Explain modulus operator.

0 Answers  


what is the role you expect in software industry?

2 Answers   HCL, Wipro,


Write a program for the following series? 1 121 12321 1234321 123454321 12345654321 1234567654321 123456787654321 12345678987654321 1234567890987654321 123456789010987654321 12345678901210987654321 1234567890123210987654321 .........1234321............ ..........123454321............ ..........12345654321............ 7 8 9 0 1 Pls............?

5 Answers  


My teacher ask to make a program that can: Insert record in front Insert record at the end Insert in between Search node record Delete record in front Delete record at the end Delete record in between Using Data structure Linked List type. But I'm really confused about the codes and I can't go through. Please help Thanks in advance. Also here is my unfinished code if someone can make changes it will be more good.

1 Answers  


will the program compile? int i; scanf(“%d”,i); printf(“%d”,i);

3 Answers  






When should a type cast not be used?

0 Answers  


implement OR gate without using any bitwise operator.

1 Answers   Alcatel, Wipro,


How many levels deep can include files be nested?

0 Answers  


Why use int main instead of void main?

0 Answers  


write a c/c++ program that takes a 5 digit number and calculates 2 power that number and prints it?

4 Answers  


How many levels of indirection in pointers can you have in a single declaration?

0 Answers   Agilent, ZS Associates,


What is switch in c?

0 Answers  


Categories