Pass By Reference | C Programming Tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Pointers can be hard to learn and understand why or when to use them. This is a nice short video that clearly articulates all the basics in a very clear and easy to follow along example. Thanks for all the videos! Very well done.

crklopotic
Автор

i absolutely love this C tutorial series.
your channel is amazing! i need to pick up the pace, i still got 154 videos left to grind..

pietraderdetective
Автор

This concept is hard to get for beginners, thanks a lot!

philipphortnagl
Автор

Watched so many videos on this. First time I actually understood what it is. Good video.

calvinalberts
Автор

I get it now. Pass by reference (pointer) is needed because the variables in functions are exclusive. It's like there's a wall between the function area and the main area. The only way we can connect those variables (in main and in function) is to manipulate the memory via addresses. Kinda like digging a hole underground.😄

SuperDamuho
Автор

Passed by pointer. Got it!!!
Great video, thanks!

NikitaSafronov-yi
Автор

This is gold!!! Thank you for the clear explanation

christopheanfry
Автор

Really well explained, especially giving a reason WHY passing by reference is beneficial. But I am getting confused about *a vs *a. Some times you referred to "*a" like: "a is a pointer" and other times you were saying: "Here we dereference the pointer a". Sounds like "*a" can be two totally different things?

plica
Автор

pass by pointer 💪thnx a lot, this channelis realy one of the best c channel ever :)

muhisaleh
Автор

what IDE you're using sir?
and thanks for the video.

ridoxi
Автор

still didnt understand why call by value didn't work...

😆

but I understood the call by reference mechanism,
thanks!!

Andy_B.
Автор

thx man I immediately understood everything after watching this video😁

gamingwithronpubgm
Автор

Can you have (int &a, int &b) as function perameters? Im confused here? As we want an address to deference...?

jonathanmoore
Автор

why is it called passed by pointer and not passed by reference?

brunomartel
Автор

if we think that & is inverse of *, & times * will produce 1. Therefore *&x = x. (i dont know is that interpretation whether correct or not)

nuclearrambo