---
title: "WHAT IS THE DIFFERENCE BETWEEN CALL BY VALUE AND CALL BY REFERENCE?"  
description: "WHAT IS THE DIFFERENCE BETWEEN CALL BY VALUE AND CALL BY REFERENCE?"  
author: "Hemant Patel"  
published: 2017-12-07  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/23322/what-is-the-difference-between-call-by-value-and-call-by-reference  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# WHAT IS THE DIFFERENCE BETWEEN CALL BY VALUE AND CALL BY REFERENCE?

Difference between Call by Value and Call by Reference is, When using Call by Value, you are sending the value of a variable as parameter to a function, whereas Call by Reference sends the address of the variable. Also, under Call by Value, the value in the parameter is not affected by whatever operation that takes place, while in the case of Call by Reference, values can be affected by the process within the function.

## Answers

### Answer by Hemant Patel

Difference between Call by Value and Call by Reference is, When using Call by Value, you are sending the value of a variable as parameter to a function, whereas Call by Reference sends the address of the variable. Also, under Call by Value, the value in the parameter is not affected by whatever operation that takes place, while in the case of Call by Reference, values can be affected by the process within the function.


---

Original Source: https://www.mindstick.com/interview/23322/what-is-the-difference-between-call-by-value-and-call-by-reference

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
