what does it mean when you say z=1? Does it ignore what value you pass into the function? What is this called?
paradox814
1
Posting Whiz
Recommended Answers
Jump to PostThat is a default value for z. Thus, you can call the function with just two arguments, and z will be assigned the value 1. If a third argument is passed to the function, z will be assigned that value.
Val
All 4 Replies
vmanes
1,165
Posting Virtuoso
paradox814
1
Posting Whiz
siddhant3s
1,429
Practically a Posting Shark
Duoas
1,025
Postaholic
Featured Poster
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.