---
title: "Discussion on \"Know the difference between Argument and Parameter in programming\" | Hashnode"
description: "Discussion on \"Know the difference between Argument and Parameter in programming\". Many of us still think that arguments and parameters are the same. But that is not the case. They're different. So, today we're gonna look at the differences between arguments and parameters. Let's get started!\n// Here a and b are Parameters\nfunction..."
url: "https://hashnode.com/posts/know-the-difference-between-argument-and-parameter-in-programming/600ff9459d3cb25c41e0b347"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Know the difference between Argument and Parameter in programming](https://roopesh.hashnode.dev/know-the-difference-between-argument-and-parameter-in-programming?utm_source=hashnode&utm_medium=feed)

Many of us still think that arguments and parameters are the same. But that is not the case. They're different. So, today we're gonna look at the differences between arguments and parameters. Let's get started! // Here a and b are Parameters function...

Jan 26, 2021 · 2 min read · roopesh.hashnode.dev  
Updated Feb 10, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming](https://hashnode.com/tag/programming)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#c](https://hashnode.com/tag/c)

## Written by

[Roopesh Saravanan](https://hashnode.com/@roopeshsn)

@roopeshsn · Chennai, Tamil Nadu, India

  
[View profile](https://hashnode.com/@roopeshsn)

Proficient in Javascript Technologies

Building up my engineering career in electronics. Enhancing my ability in application and web development.

## Responses 1

Markdown supported · ⌘↵ to post

[Purvi Barot](https://hashnode.com/@purvi)

[Jan 27, 2021](https://hashnode.com/posts/know-the-difference-between-argument-and-parameter-in-programming/600ff9459d3cb25c41e0b347/comment/6010e3f6b5b03f4bf00e46bb)

A parameter is a variable in a method definition. When a method is called, the arguments are the data you pass into the method's parameters.

-   Given the following example function that adds two integers, x and y would be referred to as its parameters:

```
int add(int x, int y) {
    return x + y;
}
```

-   At a call-site using add, such as the example shown below, 123 and 456 would be referred to as the arguments of the call.

```
int result = add(123, 456);
```

-   Also, some language specifications (or formal documentation) choose to use parameter or argument exclusively and use adjectives like formal and actual instead to disambiguate between the two cases. For example, C/C++ documentation often refers to function parameters as formal arguments and function call arguments as actual arguments.
