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
what is diff between localstatic and globalstatis variable possible 2 use in another file...?
what is the function of .h in #include<stdio.h> in c ?
23 Answers HCL, IBM, Wipro,
Write a program to print all permutations of a given string.
How can I dynamically allocate arrays?
write a program which will count occurance of a day between two dates.
What is wrong with this program statement?
main() { char *p; p="Hello"; printf("%c\n",*&*p); }
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
Why c++ is called c++ and not c+?
What are the 4 types of organizational structures?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions