Question: 1.Write a C declearation for a stack of floating point numbers stored in an array. 2. Using the above stack declearation, write a C function
1.Write a C declearation for a stack of floating point numbers stored in an array.
2. Using the above stack declearation, write a C function that implements the pop operation including printing a message and exiting if stack underflow occurs. You may assume the existence of an empty() function that takes a pointer to a stack as an argument.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
