What are the average number of comparisons required to sort
3 elements?
Answers were Sorted based on User's Feedback
Answer / jaiprakash
n(n-1)/2(bubble sort)
n=3
(3*2)/2=3(n)
ans:n
Is This Answer Correct ? | 13 Yes | 1 No |
what do you mean by enumeration constant?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it. i have done maximum par but i m findind problem in the commented area. please help...
write a code for large nos multilication (upto 200 digits)
What is c value paradox explain?
What are the Advantages of using macro
what is the difference between #include<stdio.h> and #include "stdio.h" ?
How do you list a file’s date and time?
What is a void pointer in c?
Is there a way to compare two structure variables?
What are the disadvantages of a shell structure?
What is the difference between struct and typedef struct in c?