Hello,
I have a question and I hope to find the answer in this magnificent website.
my question is:
What happens when you pass different arguments into a function – what does it print or return?
Thank you,
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Biswa Pujarini MohapatraRank #465 · 5.4K reputationPosted Feb 8, 2014, 11:09 PM EST
http://msdn.microsoft.com/en-us/library/ms173114.aspx
Shweta LodhaRank #31 · 39.8K reputationPosted Feb 8, 2014, 11:19 PM EST
VulpesRank #55 · 29.2K reputationPosted Feb 9, 2014, 5:17 AM EST
However, as Shweta said, they don't directly affect what the method prints or returns. In fact it needn't print or return anything at all!
Jignesh TrivediRank #16 · 50.3K reputationPosted Feb 9, 2014, 8:07 PM EST
hi,
Yes if you pass different type of argument into the function it give compile time exception.