1.

List out user define function category and explain any one from them with example.​.•♫•♬•❤HOW ARE YOU GUY'S ❤•♬•♫•.​

Answer»

Answer:

There can be 4 different types of user-defined functions, they are:

  • Function with no arguments and no return value
  • Function with no arguments and a return value
  • Function with arguments and no return value
  • Function with arguments and a return value
  • Below, we will discuss about all these types, along with program examples.
  • Function with no arguments and no return value
  • Such functions can either be used to display information or they are completely dependent on user inputs.

Below is an example of a function, which takes 2 numbers as INPUT from user, and display which is the GREATER number.

Explanation:

Be happy ALWAYS Prince☺️♥️☺️

so u LV sngs which singers fan macha

l hope it will help u ☺️☺️☺️



Discussion

No Comment Found

Related InterviewSolutions