Describe advantages and disadvantages of the various stock
sorting algorithms
Answer / 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 |
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
int x=sizeof(!5.856); What will value of variable x?
what is the difference between arrays and linked list
26 Answers MAHINDRA, Tech Mahindra, Wipro,
how can make variable not in registers
Define function ?Explain about arguments?
2 Answers Geometric Software, Infosys,
main() { intx=2,y=6,z=6; x=y=z; printf(%d",x) }
5 Answers Amazon, HCL, Thought Works,
15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?
What oops means?
What is true about the following C Functions a.Need not return any value b.Should always return an integer c.Should always return a float d.Should always return more than one value.
How can I change the size of the dynamically allocated array?
What is the method to save data in stack data structure type?
how can i get this by using for loop? * ** * **** * ******