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

Post New Answer

More Engineering AllOther Interview Questions

How would you Update the rows which are divisible by 10, given a set of numbers in column?

0 Answers  


CSS corp interview process and placement papers

0 Answers   CSS Corp,


how to print a number in character(ex. 123= one twenty three)?

0 Answers  


how u test the idoc in inbound and outbound?

0 Answers   HCL,


what is the need of constractor explain with sutable progarmming example

0 Answers  






how updates the data in target tables with tpump and mload? with low volume data and more duplicates... so in this case which perfomance is best? and write update query for tpump&mload?

0 Answers   Wipro,


What is Lease Line?Why power cord is not required to NT Boxex on which lease is connected ?Why we use use NT BOXEs for ISDN and Lease line?

0 Answers   HCL,


A rectangular plank (2)1/2 meters wide can be placed so that it is on either side of the diagonal of a square shown below.(Figure is not available) What is the area of the plank?

1 Answers   Google, Mu Sigma,


what is the differences between software engineering and other engineering disciplines.

0 Answers  


THREE IS EQUAL TO FOUR

2 Answers   InterSolution,


Method to solve question to find the number of zeros in a sequence given by: 1^1*2^2*3^3*4^4*5^5*6^6*........*99^99*100^100?

1 Answers  


find the net id and host id of the following IPV4 117.34.3.8 and 132.57.8.6

0 Answers   Green University of Bangladesh,


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)