second highest number in a given set of numbers
Answer Posted / kartik
Read the set of numbers in to an array ,sort it using bubble
sort(ascending order logic),the last but one number wil be
second highest number.....
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What is extern storage class in c?
What is the usage of the pointer in c?
What is "Duff's Device"?
What are the c keywords?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
Can we declare function inside main?
What is s or c?
How can I remove the trailing spaces from a string?
Mention four important string handling functions in c languages .
What is the difference between int main and void main in c?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
Write a c program to demonstrate character and string constants?
What do you mean by dynamic memory allocation in c? What functions are used?
What are the types of type qualifiers in c?