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,
Posted: Mon Jun 06, 2022 12:15 pm
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 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() { }