answersLogoWhite

0


Best Answer

use the variable length argument - va_arg va_list ca_start and va_end macros

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can called function determine number of arguments that have been passed to it in C language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

In the arguments to an IF function the condition that is evaluated to determine if it is true or false is also sometimes called?

It can be called a logical test.


How can a called function determine the number of arguments that have been passed to it?

It is not the function but the compiler or interpreter which interprets the code. When the program is compiled and run the compiler checks the entire code line by line to check which function is called. If you encounter polymorphism in other Object Oriented Languages it would be more clear how a function with same name and different arguments are called.


All the values that go into a function. All of the input or independent values what is this called?

They are called the arguments of the function.


The values that you use with a function are called?

values used with a function are called


What is a function in C programming language?

A function is a subroutine that can be called from several places (re-usable code). Functions can accept arguments (or parameters) so that they can be more generalised and can also return a value to the caller.


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 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.


What does arguments consist of?

Arguments consist of the information or values that are passed to a function or method when it is called. They provide the required input for the function to perform its task and can be passed in different ways, such as variables, constants, or expressions. The function then uses these arguments to produce a result or execute a specific action.


The facts that a function assumes to be true of the arguments that it receives are called?

assumes fact


What are arguments in MS Excel?

Arguments are the values that are entered into functions to enable them to work. Most functions require arguments. For example, if you want to find out what day of the week a date is, you need a function called Weekday and the date that you want as the argument of the function.


What actions are performed when function is called?

In the context of a macro or program, the values of the arguments of the function (variables) are substituted into the function and it is evaluated. The result is returned.


When a function does not return a value what kind of function is it called?

In most computer languages, a procedure that returns a value is called a function and a procedure that does not return a value is called a subroutine or subprogram. Usually the languages treat the passing of arguments/parameters differently between functions and subroutines. The C language does not distinguish between them. A subroutine that does not return a value is define as a "void" function indicating that no return value is used or available.