Загрузка...

Pass by refrence in Array in C++ ( foundation concept for DSA)

I explain how pass by reference works in array
Notes:
int arr[ ] → gives the function access to the original array.
int arr[ ] is equivalent to int arr*

It behaves like a pointer, not a copy.

Whatever the function does to arr[i] changes the real array in main.

size controls how many elements we work on.

Видео Pass by refrence in Array in C++ ( foundation concept for DSA) канала Neural Nexus
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять