Ask Question
3 June, 13:27

Describe how you can use multiple arguments in a method.

+1
Answers (1)
  1. 3 June, 14:29
    0
    name (argument_1, argument_2, argument_3, ...);

    Explanation:

    The function is a block of the statement which performs the special task.

    Syntax for calling the function:

    name (argument_1, argument_2, argument_3, ...);

    we write the name of the function and passed the arguments.

    we can pass any number of arguments with separator ',' in the function calling.

    for example:

    1. print (name, value, count, a, b);

    2. print (name, value);

    Here, name, value, count, a and b are the arguments of the function.

    if we does not pass any argument, the function still valid in the programming.

    we can pass from Null to any number of argument.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Describe how you can use multiple arguments in a method. ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers