CAPE Computer Science Unit 1 · 2012 · Paper 2 · Question 6(b)(i)
A grocery application requires storing product records containing an integer ID, integer quantity in stock, and floating-point price.
Write a declaration for a C struct productRec that can store the record for each product.
The mark scheme is shown once you've answered.
Practise this question