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 01:00
Duplicating objects creates copies that a. move differently than the original object b. erase the original object c. look and act like the original object d. add events to a game
Answers: 1
question
Computers and Technology, 22.06.2019 22:10
Asequential circuit contains a register of four flip-flops. initially a binary number n (0000 ≤ n ≤ 1100) is stored in the flip-flops. after a single clock pulse is applied to the circuit, the register should contain n + 0011. in other words, the function of the sequential circuit is to add 3 to the contents of a 4-bit register. design and implement this circuit using j-k flip-flops.
Answers: 1
question
Computers and Technology, 22.06.2019 23:20
How can you tell if someone sent you a text message to your email instead of a email
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
Ihave a singular monitor that is a tv for my computer. recently, i took apart my computer and put it back together. when i put in the hdmi cord and booted the computer to see if it worked, the computer turned on fine but the screen was blue with "hdmi no signal." i've tried everything that doesn't require buying spare parts, any answer is appreciated!
Answers: 1
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
Mathematics, 09.12.2020 07:50
question
Chemistry, 09.12.2020 07:50
question
Biology, 09.12.2020 07:50
question
Mathematics, 09.12.2020 07:50
question
Chemistry, 09.12.2020 07:50
Questions on the website: 13722361