IDBI Bank interview question

code -Fibonacci, Reverse number,prime or not