The following code is to be written in C (NOT C++). Given astack with push(), pop(), empty() operations, delete middle of itwithout using any additional data structure.
![Input Stack[] -[1, 2, 3, 4, 5] Output stack[] -[1, 2, 4, 5] Input Stack[] -[l, 2, 3, 4, 5, 6] Output : Stack [ ] [1, 2, 4, 5, 61 [1, 2, 4, 5, 6] - CKI]](../../../media.cheggcdn.com/media/02c/02c8e33c-63c0-4684-b0bc-afb34e3505c7/php1in991.png)
Input Stack[] -[1, 2, 3, 4, 5] Output stack[] -[1, 2, 4, 5] Input Stack[] -[l, 2, 3, 4, 5, 6] Output : Stack [ ] [1, 2, 4, 5, 61 [1, 2,
PayPal Gateway not configured
PayPal Gateway not configured