mplementation of stack using any programing language
Answer Posted / aravind
1. stack as an array or linked list (two ways)
2.define array.
3.perform push operation by taking one more array.
4.perform pop and store the popped items
5.display function to print the popped values
6.make sure you reach LIFO
Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Explain Function Pointer?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
What is the value of h?
What is spark map function?
How are structure passing and returning implemented?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
Write a program which returns the first non repetitive character in the string?
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What is this infamous null pointer, anyway?
Why is c called c?
What are pointers really good for, anyway?
Explain what is a program flowchart and explain how does it help in writing a program?
Are there namespaces in c?
What is a constant and types of constants in c?