Question: What does the following code output? c Copy code int arr [ ] = { 1 0 , 2 0 , 3 0 } ;

What does the following code output?
c
Copy code
int arr[]={10,20,30};
Serial.print(arr[1]);
a.10
b.20
c.30
d.0
e. None of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!