Click here to Skip to main content
15,914,642 members

Comments by Learning_to_code (Top 2 by date)

Learning_to_code 4-Aug-16 1:03am View    
Returns True when function is called as below -

int a;
Check(out a, out a);

Returns False in all other cases.
Learning_to_code 2-Aug-16 3:03am View    
I have tried this in VS and it returned false, That is pretty much clear.
But the beauty/trick lies in the understanding of Out keyword used here.

The question is under which scenario does this snippet have "true" as answer and there should be no change to the snipped put above.