another definition for data/control parameters ...


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]

Posted by hussein on July 05, 2000 at 22:46:00:

> I don't quite understand the difference between Data Parameter and Control Parameter.

a "data parameter" passed from module A to module B is one that is used in module B as part of a calculation or for an input or output operation (eg. cout, printf).

a "control parameter" passed from module A to module B is one that is used in module B as part of a condition for a loop (eg. while, for) or selection statement (eg. if).



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]