04-24-2011, 06:19 PM
Subject: argument
sir i am unable to understand what is an argument? regards.
sir i am unable to understand what is an argument? regards.
|
what is an argument in c++?
|
|
04-24-2011, 06:19 PM
Subject: argument
sir i am unable to understand what is an argument? regards.
04-24-2011, 06:19 PM
Dear student!
Argument is information required by a function to perform a task. Argument is a value that can be passed to function to be used as input information. Some function does not need any information to perform the task. In this case, the argument list for such functions will be empty. Arguments to a function are of valid data type like int number, double radius etc. For example, double raiseToPow(double x, int power) double is return type, raiseToPower is name of function double x and int power are arguments of function. |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| Default Function Argument with example | Vuhelper | 0 | 13,360 |
05-31-2012, 01:47 AM Last Post: Vuhelper |
|
| Argc(argument count) and argv(argument value) are used in main function | Vuhelper | 0 | 2,048 |
01-04-2012, 10:42 PM Last Post: Vuhelper |
|
| must have an argument of class or enumerated type | Vuhelper | 0 | 1,487 |
06-11-2011, 06:46 PM Last Post: Vuhelper |
|