I am new to C++. I have a question regarding `void` and I can't seem to find a clear answer.

As I have read and understood, `void` doesn't return any value.

But here, if I say:

```
void display(int a, int b){
    cout << a+b;
}

```

When I use this function in `main()` as:

```
display(20,30);

```

Isn't it returning value of `a+b`?

Can someone please help me understand the logic behind it?