Functions in C Programming A function in C is a block of code that performs…
What is Type Casting? Type casting means converting one data type into another…