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
Explain what is the most efficient way to store flag values?
for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????
Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)
hi any body pls give me company name interview conduct "c" language only
What is use of integral promotions in c?
write a program for size of a data type without using sizeof() operator?
22 Answers HCL, IBM,
what is the difference between c and c++?
How to compare array with pointer in c?
Write a program to swap two numbers without using the third variable?
write the output of following code .. main() { static int a[]={10,20,30,40,50}; int *ptr=a; static int arr[2][2]={1,2,3,4}; char str[]="ABCD * 4#"; char *s=str+2; int i,j; for(i=0;i<5,i++) printf("%d",*ptr++); for(i=0;i<2;i++) for(j=0;j<2;j++) printf("%d\n",*(*(n+i)+j)); printf("%c\n%c\n%c\n",*(str+2),*s++,*--s); }
Explain the use of function toupper() with and example code?
How to reverse a linked list
1 Answers Aricent, Fidelity, IBM, TCS,