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?

about cin.ignore() -- read this thread

function arguments are paired by position, not by name.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.