Design a program using an array that searches a number if it
is found on the list of the given input numbers and locate
its exact location in the list.
Answer Posted / vignesh1988i
small mistake in above program.... in last printf pl. change
*(*(ptr+i)) as (*(ptr+i))
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is the difference between printf and scanf in c?
Write program to remove duplicate in an array?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
Explain how can I open a file so that other programs can update it at the same time?
What is spark map function?
What is a loop?
Is there any data type in c with variable size?
What is the general form of #line preprocessor?
What is the process of writing the null pointer?
If the size of int data type is two bytes, what is the range of signed int data type?
What is a program flowchart?
How is pointer initialized in c?
I came across some code that puts a (void) cast before each call to printf. Why?
What language is c written?
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.