Could you please explain to me how to write the user defined functions with multiple arguments? (specifically with 2 or 3 input arguments). And also, how to make one function to manipulate different data each time it is called? (for example area of bigger circle minus area of the smaller circle with one findArea function) To be specific, can you show me Prototype, function definition, and function call?
My C++ book doesn't explain it clearly.
Thank you very much
Jump to Post
>Could you please explain to me how to write the
>user defined functions with multiple arguments?
There are three patterns for function parameters. First is a function with no parameters:
No parameters is described in code using parentheses where there's nothing between them. Next is …
All 4 RepliesReply to this topic
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.