Ajatus Software interview question

Basic C programming questions like odd even no detection using function