Would you rather wait for the results of a quicksort, a
linear search, or a bubble sort on a 200000 element array?
1) Quicksort
2) Linear Search
3) Bubble Sort
Answers were Sorted based on User's Feedback
Answer / bukke ramesh naik
quicksort is best one compare two others because quick sort
takes node lists
Is This Answer Correct ? | 2 Yes | 3 No |
How do I get an accurate error status return from system on ms-dos?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
How many keywords are there in c?
what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }
What is the purpose of the statement: strcat (S2, S1)?
What is the difference between array and linked list in c?
how many error occurs in C language ?
Explain how can you tell whether a program was compiled using c versus c++?
Explain the term printf() and scanf() used in c language?
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
what do u mean by Direct access files? then can u explain about Direct Access Files?
How to define structures? ·