Mphasis interview question

Basic c question Prime or not Oops