
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
النسخة 7الرقم المعياري الدولي: 1285225562
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
النسخة 7الرقم المعياري الدولي: 1285225562 تمرين 37
In every array, a subscript is out of bounds when it is _________.
a. negative
b. 0
c. 1
d. 999
الحلول خطوة بخطوة
الخطوة 1 من4
An index is indicates the position of a certain item number in an array. It is also called subscript.
• Subscripts are not within in the range of acceptable for the array is called out of bounds.
• In most modern programming languages, such as C++, Java, and Visual Basic, the first array element is accessed using subscript 0. So, ‘0’ is not out of bounds subscript.
Hence, the option (b) is incorrect.
الخطوة 2 من 4
الخطوة 3 من 4
الخطوة 4 من 4
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
لماذا لم يعجبك هذا التمرين؟
أخرى 8 أحرف كحد أدنى و 255 حرفاً كحد أقصى
حرف 255