What are the phases in s/w developed life cycle?
wat is the diff b/w stack & queue...where do we use stack

Answer Posted / asdf

Use of stack:
1) All local variables get stored in stack.
2) To store the parameters passed to the function
3) To store the return address of the function
4) To Evaluate arithmetic expressions.
5) In recursive programming

Use of Queue:
1)Used to implement OS internals algorithms (example: in
scheduling algorithms)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where are the auto variables stored?

618


When the macros gets expanded?

776


What is omp_num_threads?

570


Can you add pointers together? Why would you?

634


What does %c mean in c?

641






how to capitalise first letter of each word in a given string?

1424


What does void main return?

597


Write a program to print ASCII code for a given digit.

677


Explain how can you determine the size of an allocated portion of memory?

612


Are the outer parentheses in return statements really optional?

568


What do you know about the use of bit field?

602


How are portions of a program disabled in demo versions?

739


Why is c so popular?

640


Is flag a keyword in c?

673


What are the disadvantages of a shell structure?

682