CAPE Computer Science Unit 2 · 2014 · Paper 2 · Question 2(b)(iii)
Write C code to read an integer 'key' from the user and search the array 'num' for it. If found, display the location of key; otherwise, display 'Key Not found'.
The mark scheme is shown once you've answered.
Practise this question