Computer Science, asked by bindurajput581, 4 months ago

write an example to demonstrate the functionality in c++​

Answers

Answered by Anonymous
1

Explanation:

A function is a set of statements that take inputs, do some specific computation and produces output.

The idea is to put some commonly or repeatedly done task together and make a function so that instead of writing the same code again and again for different inputs, we can call the function.

The general form of a function is:

return_type function_name([ arg1_type,

Similar questions