Write down the difference between Formal and Actual Arguments.

Formal Arguments:
  • The arguments present in the function definition are called formal arguments. These are also called dummy arguments.
Example:
  • name(x,y)
  • int x,y;
  • {
  • int z;
  • z=x+y;
  • return(z);
  • }
In this exmple x and y are called formal or dummy argumets.
Actual Arguments:

·      The arguments present in the function calling is called actual arguments. These are called actual arguments because it has values to sent to the already defined function(called function) formal arguments.

0 Comment "Write down the difference between Formal and Actual Arguments."

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

Loading...
இணைந்திருங்கள் 24 நேரமும்!! Like us on Facebook!)