Write a program in ‘C’ language that will perform the
following operation on static stack.
1. push
2. pop
3. Display
4. Exit
Create separate functions for each operation.
The push() should accept one argument of structure type and
will not return any thing. The pop() function will not
receive any argument & return structure type value.
The stack & top must be declare as external variable.
Each element of stack will contain the following information
Roll No, Std Name, Course.
Use do-while loop & switch case for generating the above
menu. The format of the output should is given below:
S.No. Roll No. Student Name Course
1 cse01 Anil Singh B.Tech
No Answer is Posted For this Question
Be the First to Post Answer
Explain how a TP Monitor manages memory and processor resources more effectively than a typical operating system.
Write a program in ‘C’ that will accept 10 numbers from the user, sort them & then perform the binary search. The searching number will be arithmetic mean of the 10 numbers accepted from the user. Write the sort() & binSearch() functions for performing the sorting & binary search. Also create display function() for displaying the list. Sort() function will use selection sort and only receive one argument (Single char type)as type of sorting i.e. ascending (a) or descending (d). Display the list after sorting using a display() function. binSearch() function will accept one argument as a number to be search & return null or the index position of that number in the array. display() function is non argument non return type function. It will simply display the list row-wise. Program should use these functions by displaying the appropriate message for found or not found.
How to select the total numbers of fire extinguisher installed in a room ?
Please send the questions asked at HLL??
How to Shut-down the system through QTP Script?
NIC question paper
what are the under ground metods praticed in indian copper mines
how to cable size by Amp with example
what is difference between class and object in c++
what is difference between Fault tolerance Vs fault avoidance
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it. I did the following program and is this correct
What is meant by STL?
Civil Engineering (5086)
Mechanical Engineering (4453)
Electrical Engineering (16638)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)