What is the easiest sorting method to use?



What is the easiest sorting method to use?..

Answer / Dhyan Singh

For simple sorting in C, a straightforward and efficient method would be Bubble Sort. However, for larger datasets, more efficient sorting algorithms like Quick Sort, Merge Sort, or Heap Sort are recommended.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

1 Answers  


largest Of three Number using without if condition?

1 Answers  


Do you know the difference between malloc() and calloc() function?

0 Answers  


what is the output of the following program? #include<stdio.h> void main() { int x=4,y=3,z; z=x-- -y; printf("\n%d %d %d",x,y,z); }

14 Answers  


Blade logic interview question. 1st round is a written tests with 15 multiple questions from c and c++. All are simple basic question. Like int main () { Int i=65; Return printf(“%c”, i); } 2nd and 3rd round is technical interview. The position for which I was interview was core UNIX and c. Yes it is for system programming. The company has product name blade server. For their server they are creating their own command for their purpose. Example cd command. We can implement it in a c program by using the chdir() function. So the question asks related to PID, fork, pipe, shared memory, signal. Write a program in c which will act as cp command.

1 Answers   BladeLogic, Infosys,


Is c call by value?

1 Answers  


hi how to convert program from notepad to turboc editor can u please help me

3 Answers  


Which is more efficient, a switch statement or an if else chain?

1 Answers  


What are types of structure?

1 Answers  


whenever a question is posted in a particular category in allinterview.com, Is there any facility to receive an indication mail. For eg: I need to receive an indication email, whenever a question is posted under the category “C Langauage”.

1 Answers  


What are the advantages of c language?

1 Answers  


Why is C language being considered a middle level language?

1 Answers  


Categories