subject

A single dimensional array can be declared as int a[10] or int a[] = {1, 2, 3, 4}. It means specifying the number of elements is optional in 1-D array. Given the array above, which statement would change the fifth element to equal 1? void function() { ... }

a[3] = 23;
a[1] = 1;
a[5] = 1;
a[5] = 6;
a[10] = 5

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
Which of the following is a way the operating system prevents unknown or unauthorized users from accessing the system?
Answers: 2
question
Computers and Technology, 22.06.2019 23:00
Which type of tab stop is most for weights and measurements?
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
After you present a proposal, the committee starts asking you questions, some beyond the strict focus of your proposal. they ask questions about implications in other fields and knowledge about other fields. you are asked to redo your proposal. what is most likely missing? breadth of material depth of material clarity of material details of material
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
How are roger williams, james oglethorpe, and william penn similar?
Answers: 3
You know the right answer?
A single dimensional array can be declared as int a[10] or int a[] = {1, 2, 3, 4}. It means specifyi...
Questions
question
Physics, 16.02.2021 22:20
question
English, 16.02.2021 22:20
question
Mathematics, 16.02.2021 22:20
Questions on the website: 13722363