Output: Odd number :1
Even number :0
Odd number :5
Even number :6
Odd number :5
Even number :8
Odd number :9
Even number :4
Odd number :1
Even number :0
Exiting odd number .
Exiting even number.
Output: Odd number :5
Even number :4
Odd number :1
Even number :0
Odd number :3
Even number :4
Odd number :7
Even number :6
Odd number :9
Even number :2
Exiting odd number .
Exiting even number.