answersLogoWhite

0


Best Answer

That depends on the syntax rules of the language in which you are programming. However, the "," is the most usual separator).

User Avatar

Wiki User

6y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

comma

,

,

,

,

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What mark is used to separate arguments in a function?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is meant by arguments in c?

Arguments appear in functions and in function calls. Arguments passed to a function are known as actual arguments. The arguments used by the function are known as the formal arguments. In C, all arguments are passed by value, such that the formal argument is a copy of the actual argument.


What are separators in c plus plus?

Separators include commas, colons, semi-colons and white-space. Semi-colons are used to indicate the end of a code block or to separate one function from the next. Commas are used to separate function arguments, or to separate structure variables and class member initialisation lists (comma-separated lists). Colons are mainly used to signify class inheritance and the start of class initialisation segments. White-space separates a variable type from its name, but is also used to aid the readability of code.


What are the different types of function in c plus plus programming?

There are five types of functions and they are:Functions with no arguments and no return values.Functions with arguments and no return values.Functions with arguments and return values.Functions that return multiple values.Functions with no arguments and return values.Functions with no arguments and no return value.A C function without any arguments means you cannot pass data (values like int, char etc) to the called function. Similarly, function with no return type does not pass back data to the calling function. It is one of the simplest types of function in C. This type of function which does not return any value cannot be used in an expression it can be used only as independent statement.Functions with arguments and no return value.A C function with arguments can perform much better than previous function type. This type of function can accept data from calling function. In other words, you send data to the called function from calling function but you cannot send result data back to the calling function. Rather, it displays the result on the terminal. But we can control the output of function by providing various values as arguments. Functions with arguments and return value.This type of function can send arguments (data) from the calling function to the called function and wait for the result to be returned back from the called function back to the calling function. And this type of function is mostly used in programming world because it can do two way communications; it can accept data as arguments as well as can send back data as return value. The data returned by the function can be used later in our program for further calculations. Functions with no arguments but returns value.We may need a function which does not take any argument but only returns values to the calling function then this type of function is useful. The best example of this type of function is "getchar()" library function which is declared in the header file "stdio.h". We can declare a similar library function of own. Functions that return multiple values.So far, we have learned and seen that in a function, return statement was able to return only single value. That is because; a return statement can return only one value. But if we want to send back more than one value then how we could do this? We have used arguments to send values to the called function, in the same way we can also use arguments to send back information to the calling function. The arguments that are used to send back data are called Output Parameters.It is a bit difficult for novice because this type of function uses pointer


Does there exist any way to make the command line argument available to other function without passing them as arrguments to function?

The only way this can be achieved is by storing the command line arguments in global variables. However, this is not recommended. Global variables should only be used to represent truly global concepts, but command line arguments are local to the main function. The main function's primary role is to parse the command line arguments and invoke the appropriate functions, passing any required arguments (by value) to those functions that specifically require them. The main function's secondary role is to handle any exceptions not handled by the functions that it invokes.


Formal and Actual Arguments?

The actual arguments (we call them parameters) to a function are the original copies in the caller's address space. The function prolog code provided by the compiler provides for making copies of all of the parameters. These copies are called the formal parameters. In C and C++, the default calling convention is call by value, which means that the called function only has access to the formal copy. Optionally, you can call by reference, passing instead the address of the actual parameter. Using dereference notation, the called function then has access to the actual parameter, and the formal parameter is simply its address. One of the things that sometimes confuses people is the name of the parameter. You might, for instance, call something alpha in you main function. It is called alpha, and alpha means the memory location of alpha. In the function, however, you can call the parameter something else, perhaps beta. Within the context of the called function, beta contains the value of or the address of alpha, but it is not alpha, it is beta. To make matters worse, you can have another alpha within a block, or within the function, and that is certainly not related at all to the original alpha. Recommendation: Always call an object by consistent names. This way, you won't get into scoping rules trouble.

Related questions

What does Excel use to separate multiple arguments in a function?

Commas are used to separate arguments in Excel functions.


Values used with a function in Excel?

Arguments


What the operator used when invoking a function?

parenthesis - () are used along with the function name to invoke a function.Eg:Consider a function named trial. Then the invoking statement would be:trial();If the function has arguments, then these arguments are passed inside the parameters.


What types of arguments can be used in puts() function?

70


What is meant by arguments in c?

Arguments appear in functions and in function calls. Arguments passed to a function are known as actual arguments. The arguments used by the function are known as the formal arguments. In C, all arguments are passed by value, such that the formal argument is a copy of the actual argument.


Where do you find a list of Excel arguments?

Each function in Excel that has arguments will differ in terms of what arguments are needed. The help for a particular function will indicate what arguments may be needed. Some functions can be used in different ways and may not always need all arguments.


What does the comma in Excel mean?

The comma button will apply comma formatting to cells, so a value like 10000 will become 10,000. Commas are also used in functions to separate the different arguments used in a function.


The values that you use with a function are called?

values used with a function are called


What are the values that are used in a function?

There are several possibilities. They can be called arguments and there are two kinds, variables and constants. Variables can have different values and constants are always the same.


When does the function arguments box appear in Excel?

It shows you what needs to be put into a function for it to work. You can type the arguments directly into the boxes that are shown for the particular function you are using. It is particularly handy for more complex functions that you are not used to working with.


What are separators in c plus plus?

Separators include commas, colons, semi-colons and white-space. Semi-colons are used to indicate the end of a code block or to separate one function from the next. Commas are used to separate function arguments, or to separate structure variables and class member initialisation lists (comma-separated lists). Colons are mainly used to signify class inheritance and the start of class initialisation segments. White-space separates a variable type from its name, but is also used to aid the readability of code.


Relationship between actual and formal arguments?

The formal arguments are the names given to the parameters/arguments in the function declaration. These names will be used within the body of the function. void myFunc( int i, char c ); // Function prototype The actual arguments are the variables and/or constants (those supplied by the caller) that are used when invoking the function. int intVar = 6; char charVar = 'e'; // Actual parameters 3 and 'G' will be mapped to the // formal parameters 'i' and 'c' myFunc( 3, 'G' ); // Execute function // Actual parameters 'intVar' and 'charVar' will be mapped // to the formal parameters 'i' and 'c' myFunc( intVar, charVar ); // Execute function