Statement to display the last element of char str (20)
Answers
Answered by
0
System.out.println(str[19]);
}
Explanation:
This is for java language
set the value of index will always one less from your given space because it's starting from zero.
Similar questions