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

Array basics

Rankningslista

Vi arbetar för närvarande med att förbättra topplistans funktionalitet. Hjälp oss gärna genom att ge oss din feedback.

Ge feedback

Visuell stil

Alternativ

Vi arbetar för närvarande på att förbättra aktivitetsinställningarna. Snälla hjälp oss genom att ge din feedback.

Ge feedback

Växla mall

Återställ sparas automatiskt: ?