StackOverflow Questions for Tag: pass-by-value

TCM
TCM

Reputation: 16900

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

Score: 1

Views: 125

Answers: 3

Read More
ritu
ritu

Reputation:

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

Score: 726

Views: 929929

Answers: 18

Read More
David Maisonave
David Maisonave

Reputation: 188

Batch function get the value of variable pass by reference

Score: 0

Views: 46

Answers: 2

Read More
user4315
user4315

Reputation: 4785

Is Java "pass-by-reference" or "pass-by-value"?

Score: 7747

Views: 2782250

Answers: 91

Read More
Calvin
Calvin

Reputation: 2912

Can I let the C++ compiler decide whether to pass-by-value or pass-by-reference?

Score: 15

Views: 711

Answers: 2

Read More
user3448821
user3448821

Reputation: 249

Swap entire arrays in Javascript

Score: 3

Views: 1653

Answers: 6

Read More
Matt Gray
Matt Gray

Reputation: 65

Java Array behaving as call-by-reference only sometimes

Score: 0

Views: 49

Answers: 0

Read More
Boris Gorelik
Boris Gorelik

Reputation: 31747

Emulating pass-by-value behaviour in Python

Score: 79

Views: 100907

Answers: 8

Read More
Danail Nachev
Danail Nachev

Reputation: 19841

Is JavaScript a pass-by-reference or pass-by-value language?

Score: 1801

Views: 581720

Answers: 36

Read More
MatG
MatG

Reputation: 795

Difference on passing a free function as template argument by value or by reference

Score: 5

Views: 96

Answers: 1

Read More
Michael
Michael

Reputation: 8709

Passing Objects By Reference or Value in C#

Score: 347

Views: 390755

Answers: 9

Read More
Vorac
Vorac

Reputation: 9084

Why am I forbidden to alter a pass-by-value field?

Score: 0

Views: 93

Answers: 0

Read More
Sam Coutteau
Sam Coutteau

Reputation: 357

Understanding when a compiler copies, moves or constructs in place

Score: -4

Views: 82

Answers: 1

Read More
user2405589
user2405589

Reputation: 968

Updating a Java Map by different methods

Score: 1

Views: 121

Answers: 2

Read More
user9174081
user9174081

Reputation: 63

If I have a HashMap<String, List<String>> and I want to update a List<String> value, why do I need to put the updated list back into the map?

Score: 0

Views: 46

Answers: 0

Read More
user42155
user42155

Reputation: 49665

Java, pass-by-value, reference variables

Score: 2

Views: 9104

Answers: 6

Read More
Leong
Leong

Reputation: 309

Dart pass by reference or pass by value

Score: 0

Views: 45

Answers: 2

Read More
Jishnu Prasanth
Jishnu Prasanth

Reputation: 1

When passing a pointer to a function in c, what actually happens?

Score: 0

Views: 25

Answers: 0

Read More
Mooncrater
Mooncrater

Reputation: 4851

If Java is a "call-by-value" language then why is this happening?

Score: 0

Views: 101

Answers: 4

Read More
Sticky
Sticky

Reputation: 3939

Python NoneType object is not working as intended

Score: 4

Views: 2012

Answers: 2

Read More
PreviousPage 1Next