8 marksAbstract Data Types (ADTs)
CAPE Computer Science Unit 2 · 2012 · Paper 2 · Question 1(a)(iii)
A Stack ADT is implemented in C with variables and functions.
Write C code for push(element) and pop() operations, accounting for overflow and underflow conditions.
The mark scheme is shown once you've answered.
Practise this question