What is bubble sort technique in c?



What is bubble sort technique in c?..

Answer / Shri Ram Verma

Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order. The pass through the list is repeated until the list is sorted.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Why we use break in c?

1 Answers  


Write a program to find minimum between three no.s whithout using comparison operator.

4 Answers   IBM,


9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?

1 Answers  


Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?

1 Answers  


Why do we use null pointer?

1 Answers  


Explain enumerated types in c language?

1 Answers  


what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

1 Answers   Wipro,


Why c is called top down?

1 Answers  


In C programming, what command or code can be used to determine if a number of odd or even?

1 Answers  


List the different types of c tokens?

1 Answers  


Why doesn't C have nested functions?

2 Answers  


Differentiate between null and void pointers.

0 Answers   TCS,


Categories