When we pass a value type variable using ref keyword the reference of the variable is passed and both variable names points to same memory location. So…
When we pass a value type variable using ref keyword the reference of the variable is passed and both variable names points to same memory location. So…