StackOverflow Questions for Tag: pass-by-reference

aquagremlin
aquagremlin

Reputation: 3549

unexpected change in variable after python function call

Score: 2

Views: 320

Answers: 4

Read More
Oodini
Oodini

Reputation: 1347

Using universal reference to loop on a container

Score: -2

Views: 72

Answers: 0

Read More
Lucas
Lucas

Reputation: 3725

All objects added to an array via looped array_push() calls have property value unintentionally set by final declaration

Score: 0

Views: 75

Answers: 2

Read More
Ray  Paras
Ray Paras

Reputation: 157

Laravel 9 - map collect can't scope outside variable array even using use

Score: 1

Views: 415

Answers: 0

Read More
Rudy01
Rudy01

Reputation: 1087

c++ treat the address location as an integer

Score: 21

Views: 49224

Answers: 4

Read More
Cường
Cường

Reputation: 21

Iterating over an Array

Score: 2

Views: 89

Answers: 4

Read More
lexie
lexie

Reputation: 77

Why does assignment to outer variables not take effect in recursive algorithm?

Score: 1

Views: 382

Answers: 2

Read More
cpp_noname
cpp_noname

Reputation: 2071

Pass a register variable by reference

Score: 0

Views: 1874

Answers: 2

Read More
StarEgg
StarEgg

Reputation: 51

Pass "Slice" structs by value or by reference?

Score: 2

Views: 94

Answers: 3

Read More
pallav bohara
pallav bohara

Reputation: 6789

How to pass callback in Flutter

Score: 48

Views: 95897

Answers: 5

Read More
Froskoy
Froskoy

Reputation: 3027

Are arrays passed by value or passed by reference in Java?

Score: 248

Views: 302411

Answers: 7

Read More
Sony
Sony

Reputation:

Default value to a parameter while passing by reference in C++

Score: 147

Views: 178567

Answers: 19

Read More
Joss
Joss

Reputation: 555

Cloning a PHP object is not working, results in second reference to original object

Score: -1

Views: 1910

Answers: 1

Read More
J HAED
J HAED

Reputation: 21

The return value in array_walk()'s callback is not affecting the original array

Score: 2

Views: 891

Answers: 2

Read More
John Cooper
John Cooper

Reputation: 7651

Why is the & symbol required for the value parameter of array_walk()'s callback function?

Score: 3

Views: 2606

Answers: 4

Read More
TCM
TCM

Reputation: 16910

Any easy way to determine whether functions work on reference or call by value?

Score: 1

Views: 126

Answers: 3

Read More
David Sykes
David Sykes

Reputation: 49882

How do I pass a variable by reference?

Score: 3346

Views: 2169259

Answers: 43

Read More
frumious
frumious

Reputation: 1575

Calling sort() inside of a foreach() does not affect the original array

Score: -1

Views: 83

Answers: 1

Read More
ritu
ritu

Reputation:

What's the difference between passing by reference vs. passing by value?

Score: 727

Views: 933096

Answers: 18

Read More
user3664223
user3664223

Reputation: 337

Is it possible in C++ passing function inout parameter with default value

Score: -2

Views: 143

Answers: 2

Read More
PreviousPage 1Next