write a program to find the largest and second largest
integer from an array
Answer Posted / mahesh
use bubble sort next to this, print last n second from last..
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
what is the syallabus of computer science students in group- 1?
Write a program of advanced Fibonacci series.
What is the difference between malloc calloc and realloc in c?
How we can insert comments in a c program?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.
What is a function simple definition?
Why is c so important?
what is ur strangth & weekness
What is the use of f in c?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
What is the difference between void main and main in c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
Which header file should you include if you are to develop a function which can accept variable number of arguments?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }