К содержимому
onsuggest
Войти
Статья en

Pointer to Array in C: Compression File Analogy

Источник: /dev/null ·

DISCLAIMER Keep in mind that this is only an analogy to help newcomer understand pointer to array in C programming language. This does not mean there&rsquo;s any sort of compression when we use pointer to array. &arr vs &arr[0] In case you didn&rsquo;t know, we can get the address of an array using the address-of operator like &array. Here&rsquo;s an example: #include <stdio.h> int main(void) { int arr[2]; printf("&arr: %p\n", &arr); // Address to _whole array_.

Горячие клавиши

Предыдущее открытие
←P
Следующее открытие
→N
Нравится
L
Не для меня
X
Сохранить
S
Показать эту справку
?
Закрыть
Esc

Горячие клавиши работают на странице открытий.