answersLogoWhite

0

What is meant by arguments in c?

Updated: 8/9/2023
User Avatar

Wiki User

14y ago

Best Answer

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.

User Avatar

Wiki User

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

Wiki User

11y ago

An argument is the input for a function parameter. Given a function "int addTwoNumbers(int x, int y)", x and y are the parameters for the function. When the function is called, such as in "addTwoNumbers(4, 6)", 4 and 6 are the arguments for the function.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

An argument in C is a function parameter value.

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

within function call, declaration and definition

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

During function call and function definition and Declaration. These are the three places where arguments appear in C Program.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is meant by arguments in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are default arguments in c?

Nothing.


What parameter to a function is one for which an automatic value is supplied if do not explicitly use one in C programming?

You are referring to default arguments. However, C does not support default arguments. That's a C++ feature.


How do you pass command line arguments using turbo in c compiler?

In the Options menu the Arguments command.


How do you write c file arguments?

Using parameters argc and argv, and library functions fopen, fprintf, fclose


What is the maximum no of arguments that can be given in a command line in C?

C doesn't limit it, it handles as many parameters as it gets.


What is meant by c and c program?

cash and carry


Why does it say bad arguments on two words when you enter a cheat?

Cos ur not meant to cheat':) xX


Write a c program for function with no arguments and no return values?

void mynullfunction () {;}


What is the integral of 2 2x?

2 2x makes no sense. If you meant the integral of 2x, it is x2 + C. If you meant the integral of 4x, it is 2x2 + C. If you meant the integral of 2x2, it is 2/3 x3 + C.


Which chemical is meant by the word carbon?

If you meant which symbol carbon is, it is C.


Is 'c' is a oops language?

If you meant 'C++' then yes; otherwise no.


What is meant by overriding commission?

The subclass has the same signature name ,numbers,type of arguments as a same method in the superclass.