Computer Science, asked by urmilagogoi437, 8 months ago


5. What is meant by a function? Explain with an example.​

Answers

Answered by nisha1234rana
2

Answer:

. A function is a block of organized, reusable code that is used to perform a single, related action. Functions provide better modularity for your application and a high degree of code reusing. You have already seen various functions like printf() and main().

hello frnd mark as brainliest.... it took efforts

Answered by unknownX2
1

Answer:

A function is a mapping from a set of inputs (the domain) to a set of possible outputs (the codomain). The definition of a function is based on a set of ordered pairs, where the first element in each pair is from the domain and the second is from the codomain.

Explanation:

hope it helps

pls mark me as brainliest

Similar questions