Question: Examine the following function public void ModifyNum(in int num) { num=num+5; Then examine the code below that uses the above function: int num =5; ModifyNum(in

Examine the following function public void ModifyNum(in int num) \{ num=num+5; Then examine the code below that uses the above function: int num =5; ModifyNum(in num); ModifyNum(in num); Console.WriteLine(" {0}" ",num); What output does the above code produce? A. 5 B. 10 C. Coding Error D. 15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
