What will be the value of the variable k after execution of the following code? int n[10] = { 3, 5, 2, 11, 4, 15, 2, 7, 3, 1 } ; int k=10; void setup() { n [2]+=k; } void loop() { }
What will be the value of the variable z after execution of the following code? int n [10] = { 3, 5, 2, 11, 4, 15, 2 7, 3, 1 }; int k=3; int z=15; void setup() { z-=n [k]; } void loop() { }
What will be the value of the variable k after execution of the following code? int n[10] = { 3, 5, 2, 11, 4, 15, 2, 7,
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the value of the variable k after execution of the following code? int n[10] = { 3, 5, 2, 11, 4, 15, 2, 7,
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!