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

write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

0 Answers  


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

0 Answers  


What is const keyword in c?

0 Answers  


What are the advantages of union?

0 Answers  


how to determine the complexity of an algorithm as log(n)

1 Answers   Google,






read an array and search an element

1 Answers  


Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 5 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

1 Answers  


Are there any problems with performing mathematical operations on different variable types?

0 Answers  


difference between c and c++

3 Answers  


what is diff between localstatic and globalstatis variable possible 2 use in another file...?

2 Answers   HCL,


Is file a keyword in c?

0 Answers  


for(i=1;i>0;i++); printf("i=%d",i); what will be the answer????

7 Answers  


Categories