1,105,254 Community Members

Function arguments and parameters

Member Avatar
nerdygirl118
Newbie Poster
14 posts since Oct 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Function arguments and parameters are paired by name, therefore, names of corresponding
arguments and parameters must be identical.

Why is this statement false?

Also, in cin.ignore (200, '\n'); why is the 200 there? what does it do?

Member Avatar
Ancient Dragon
Achieved Level 70
27,594 posts since Aug 2005
Reputation Points: 5,232 [?]
Q&As Helped to Solve: 3,032 [?]
Skill Endorsements: 115 [?]
Team Colleague
Featured
Sponsor
 
0
 

about cin.ignore() -- read this thread

function arguments are paired by position, not by name.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: