Describe advantages and disadvantages of the various stock
sorting algorithms

Answer Posted / amirtha

in stack we can use arrays.it is easy to implement.but the
push &pop can be done only at one postion.it has find
several real time applications like cars in a shed,no of
coins placed one above.

Is This Answer Correct ?    0 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In a switch statement, explain what will happen if a break statement is omitted?

630


What is sizeof array?

604


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1475


What is pointer and structure in c?

563


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1426






List some of the static data structures in C?

757


write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.

1573


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

972


How can I open a file so that other programs can update it at the same time?

655


What is the use of a ‘’ character?

582


What is the difference between fread and fwrite function?

633


Is c language still used?

533


What is the difference between typedef struct and struct?

592


Are negative numbers true in c?

595


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

2528