top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What is an argument? Differentiate between formal arguments and actual arguments?

+3 votes
688 views
What is an argument? Differentiate between formal arguments and actual arguments?
posted Dec 6, 2013 by Prachi Agarwal

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

2 Answers

+2 votes

An argument is an entity used to pass the data from calling function to the called function.

Formal arguments are the arguments available in the function definition. They are preceded by their own data types. Where as Actual arguments are available in the function call.

answer Dec 6, 2013 by Neeraj Pandey
0 votes

I have already answered this in some similar question, answering again -

1) Arguments of the function are the parameter which are passed from the caller to the called function or from the command line to the main function.

2) The arguments passed to the functions while the function is called is known as the actual arguments, whereas the arguments declared in the function header is called as formal arguments.

answer Dec 7, 2013 by Kumar Mitrasen
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...