Загрузка...

Call by value & call by reference in C

Call by value & call by reference in C

#callbyvalue #callbyreference #pointersinc #functions #cprogramming

In C programming, "Call by Value" and "Call by Reference" are two ways to pass arguments to functions. In Call by Value, a copy of the actual value is passed, so any changes made inside the function do not affect the original variable. This method uses more memory because it creates a duplicate of the value. On the other hand, in Call by Reference, the function receives the memory address of the variable instead of a copy, meaning any changes made inside the function directly modify the original variable. This method saves memory and is useful when we need to update the actual data.

call by value & call by reference in c
call by value and call by reference in c
Pointers in c
Pointers easy
C programming
C in hindi


Programming in C Playlist :
https://youtube.com/playlist?list=PLmHcnz80fSnHKqw4RyYTUiNdyFPIdEmvY

My social media:
Facebook :
https://www.facebook.com/aanchal.1811
Instagram
https://www.instagram.com/aanchal.1811
LinkedIn
https://www.linkedin.com/in/anchalrawat1811

Видео Call by value & call by reference in C канала Aanchal Rawat CSIT
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять