TCS Interview Question

Write any plsql function with proper syntax