Mphasis Interview Question

Basic c question Prime or not Oops