CAPE Computer Science Unit 1 · 2012 · Paper 2 · Question 6(b)(iii)
A grocery application requires storing product records containing an integer ID, integer quantity in stock, and floating-point price.
Write C code to put data in the item1 struct declared in (b)(ii) using any values.
The mark scheme is shown once you've answered.
Practise this question