Kuys paano to? Pa explain naman sakin po. Please.
When your dealing with arrays the position of the array elements is called index and it starts with 0.
Lahat ng elements sa loob ng array ay may position na nag sisimula sa 0.
Example: Ano ang index ng number 25? Ang element number 25 ay pang 4 na element, pero yung index niya or position niya sa array ay 3 dahil nag sisimula ang index sa 0.
6. (arr[4] + arr[0]) * arr[2]
(0 + 5) * 8 = ?
Ikaw naman sumagot oh basic arithmetic operation nalang yan ah.
Follow BIDMMAS/BODMMAS rule in programming operations.
Bracket, Indices, Division, Modulo, Multiplication, Addition, Subtraction ( (), [], **, /, %, *, +, - )
7. Alam mo na dapat yan gaya lang din naman to ng no. 6
8. Address of the first element, by address it is referring to the index. First element is 5, so ano yung index ng 5?
9. Address of the last element, oh ito pareho lang din ang logic sa no. 8
10. Length of the arr[] it is referring to the number of elements, nandun na sa given yung sagot, ilan lahat ng elements?
Ubos na yung 3 lives mo, sa sunod mong tanong sisingilin na talaga kita