What will be the value of variable k after execution of the following code? int n[10] = { 32, 27, 64, 18, 95, 1 4, 90, 7
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
What will be the value of variable k after execution of the following code? int n[10] = { 32, 27, 64, 18, 95, 1 4, 90, 7
What will be the value of 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() { k=n [1]/n [2]; } 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, 3, 1 } ; int k=10; void setup() { k=n [1] %n [2] ; } void loop() { }
What will be the value of the variable A after execution of the following code? int k [10] = { 4, 6, 8, 10, 4, 12, 1 , 7, 3, 1 }; int A=10; int B=13; int C=5; void setup() { if ((A==k [3] )&&(B<=k [1])) A=k [0]; } void loop() { }