7 marksAbstract Data Types (ADTs)
CAPE Computer Science Unit 2 · 2015 · Paper 2 · Question 1(c)(i)
Write C code implementations for stack and queue operations without calling other functions.
Write a C function to add an integer to a stack, with the stack and the integer value as arguments.
The mark scheme is shown once you've answered.
Practise this question