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
Share
Share
Share
by
Priyaitsrec
Computer
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Match up
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
More formats will appear as you play the activity.
Open results
Copy link
QR code
Delete
Continue editing:
?