int a[5]={10,29,-6,3,2};, Reserved location and Initialization, What is an array?, A set of variables that are under a common name, int a[]={1,2,3,4,5,6,7};, Size of array would be number of elements defined, int a[6]={1,2,3,4}, Remaining elements are initialized with zeros, int a[5];, Any garbage value; not zero, int a[4]={1,2,3,4,5,6,7}, Error, int a[5]={10}, All the memory location will have 10 , int a[3]={ }, Compile time Error, Can the size of an array be changed at runtime in C++?, No, Never, What is the term for accessing elements of an array using an index in C?, Indexing.
0%
Array basics
Udostępnij
Udostępnij
Udostępnij
autor:
Priyaitsrec
CS
Edytuj elementy
Drukuj
Osadź
Więcej
Zadania
Tabela rankingowa
Pokaż więcej
Pokaż mniej
Ta tabela rankingowa jest obecnie prywatna. Kliknij przycisk
Udostępnij
, aby ją upublicznić.
Ta tabela rankingowa została wyłączona przez właściciela materiału.
Ta tabela rankingowa została wyłączona, ponieważ Twoje opcje różnią się od opcji właściciela materiału.
Przywróć poprzednie opcje
Połącz w pary
jest szablonem otwartym. Nie generuje wyników w tabeli rankingowej.
Wymagane logowanie
Motyw
Czcionki
Wymagany abonament
Opcje
Zmień szablon
Pokaż wszystko
Więcej formatów pojawi się podczas wykonywania ćwiczenia.
)
Otwórz wyniki
Kopiuj link
Kod QR
Usuń
Przywrócić automatycznie zapisane ćwiczenie:
?