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