Popular
Trending
Fresh
All
GIFs
Videos
Media
Funsubsters
Shop
Chat
Blog
Top
Posts
Comments
Users
1
Login
Sign Up
Pass by reference vs pass by value
GIF
5 years ago by
boomwah
· 221 Likes · 5 comments
· Trending
Report
Google+
Email
Facebook
Pinterest
Twitter
Comments
Follow Comments
Sorted by time
guest
· 5 years ago
·
FIRST
Uhhhhhhhhhhhh.......
4
jasonmon
· 5 years ago
This is illustrating a tricky distinction: a reference is a POINTER to a value. It's not its own thing.
1
creativedragonbaby
· 5 years ago
If you see there, the second example has the first cup not filling up.
That’s a bit more helpful
i_k_k_e
· 5 years ago
Still don't really understand the difference. Isn't the command fillCup() the same?
creativedragonbaby
· 5 years ago
This is just a small piece of a bigger script. The stuff before the fillCup() affects how it reacts. This is just an infograph to help visualise it
Reply
The FunSubstance app is here!
Go to mobile site
Featured Posts
I wish I had a fort
The powerof positive thinking
NASA
Pray for Australia
Take care of each other
She has emerged
My soul feels so much better
I just ordered one. #Just2019HispanicThings
He really wanted his photo at the Halloween party, but was super scared of the spiders
The Only Thing More Contagious Than COVID19 Might Be This Fox's Smile
© 2024 FunSubstance ·
funny and entertaining pictures, memes, gifs & videos.
That’s a bit more helpful