Question
Identify and correct the errors in the following code segment:
int a[10];
a[10.2]=30;
a[-1]=20;
Identify and correct the errors in the following code segment:
int a[10];
a[10.2]=30;
a[-1]=20;
Sign in to write or photograph your own answer before checking the model answer. It is saved privately to your account and free to do.
Flashcards, MCQs and other questions linked to this one appear here as they are added.
Topics and outcomes this question is testing.