writ a program to compare using strcmp VIVA and viva with its
output.
No Answer is Posted For this Question
Be the First to Post Answer
main() { int i,n=010; int sum=0; for(i=1;i<=n;i++) {s=s+i; } printf("%d",&s); getch(); }
What does %2f mean in c?
what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year
What is use of pointer?
What kind of sorting is this? SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,........n-1 2.[For each pass,get small value] min=i; repeat for j=i+1 to N do { if K[j]<k[min] min=j; } temp=K[i];K[i]=K[min];K[min]=temp; 3.[Sorted Values will be returned] A)Bubble Sort B)Quick Sort C)Selection Sort D)Merge Sort
Write a program to add the following ¼+2/4+3/4+5/3+6/3+... (Like up to any 12 no.s)
what is op? for(c=0;c=1000;c++) printf("%c",c);
How do I determine whether a character is numeric, alphabetic, and so on?
How can you avoid including a header more than once?
What is wrong with this statement? Myname = 'robin';
Given an array A[n+m] of n+m numbers, where A[1] ... A[n] is sorted and A[n+1] ... A[n+m] is sorted. Design a linear time algorithm to obtain A[1...n+m] sorted using only O(1) extra space. Time Complexity of your algorithm should be O(n) and Space Complexity O(1).
formula to convert 2500mmh2o into m3/hr