write a c program to find the largest and 2nd largest
numbers from the given n numbers without using arrays
No Answer is Posted For this Question
Be the First to Post Answer
What are type modifiers in c?
What is a protocol in c?
Explain what is the difference between text files and binary files?
Tell us the difference between these two : #include"stdio.h" #include<stdio.h> define in detial.
When should we use pointers in a c program?
Explain function?
how can i get output like this? 1 2 3 4 5 6
What is the translation phases used in c language?
Why is it important to memset a variable, immediately after allocating memory to it ?
#include<stdio.h> int SumElement(int *,int); void main(void) { int x[10]; int i=10; for(;i;) { i--; *(x+i)=i; } printf("%d",SumElement(x,10)); } int SumElement(int array[],int size) { int i=0; float sum=0; for(;i<size;i++) sum+=array[i]; return sum; } output?
Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures.
Why main is used in c?