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
What do you mean by scope of a variable in c?
What are integer variable, floating-point variable and character variable?
What are the advantages of using macro in c language?
What is the difference between array and pointer?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
How do I convert a string to all upper or lower case?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
What is the maximum length of an identifier?
What is I ++ in c programming?
write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.
What are nested functions in c?
Can you tell me how to check whether a linked list is circular?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
What is void c?
What are header files in c programming?