This is a discussion on differentiate between formal arguments and actual arguments within the C and C++ Programming forums, part of the Software Development category; Hui Can anyone tell me what is an argument ? differentiate between formal arguments and actual arguments?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi void main(){ x = sum(2,3); } int sum(int a,int b){ return a+b } in the above example 2 & 3 are called actual arguments, a & b are called formal argumets value given to function parameter is called argument
__________________ SeeSamJagan- Sky is not the "LIMIT", Death is not the END, There is still something beyond.... |
| |||
| Formal arguments are nothing but a copy of the original(actual) arguments value supplied in the calling function is called actual argument value supplied in the called function is called formal argument
__________________ SeeSamJagan- Sky is not the "LIMIT", Death is not the END, There is still something beyond.... |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is asp.net an actual programming language? | preet | ASP and ASP.NET Programming | 3 | 04-06-2008 11:31 PM |
| Formal verification method | Shanthi | Software Testing | 0 | 01-14-2008 04:31 AM |
| How do I read command-line arguments with Perl? | leoraja8 | Perl | 3 | 11-26-2007 06:43 AM |
| How do I access command-line arguments? | prasath | C and C++ Programming | 1 | 08-17-2007 11:46 PM |
| How do I read command-line arguments with Perl? | sivaramakrishnan | Perl | 1 | 07-23-2007 04:50 AM |