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

write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

1848


List some of the dynamic data structures in C?

790


Explain what are run-time errors?

610


Write a program to generate the Fibinocci Series

663


What is pointers in c with example?

583






What is the use of #define preprocessor in c?

616


Why calloc is better than malloc?

572


How we can insert comments in a c program?

632


shorting algorithmS

1803


swap 2 numbers without using third variable?

661


Do you know the use of 'auto' keyword?

662


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

1591


formula to convert 2500mmh2o into m3/hr

498


What is the role of && operator in a program code?

568


Explain goto?

718