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

which/why unix commands are simpler rather than complex tasks

0 Answers  


What are the fundamental differences between Engineering and Physics?

0 Answers  


what will happpen when "MY COMPUTER" IS PERMANENTLY REMOVED FROM MY COMPUTER?

2 Answers  


why java take 2 byte for charecter???

1 Answers   MAHINDRA,


What is the instruction to load the register B?

0 Answers  






what is the difference between VARCHAR and VARCHAR2?

5 Answers  


I am student pursuing B.E/B.tech in Computers 8'th sem.What should i do for a better carrier.Plz suggest other than programming languages.Is the ERP a better one to do?plz help...

0 Answers  


Explain the difference between RAM and ROM? What is “Volatile Memory

0 Answers  


What is the difference between tcp/ip protocol and IP protocol?

2 Answers   CMC, CMS, Microsoft,


3. Tell me about a time when you had too many things to do and you were required to prioritize your tasks.

0 Answers   Strad Energy,


Why there is Powerfactor difference when we compare to our Capacitive Panel and TNEB side?

0 Answers   LM Glasfiber,


Explain force?

0 Answers  


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)