
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
النسخة 7الرقم المعياري الدولي: 1285225562
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
النسخة 7الرقم المعياري الدولي: 1285225562 تمرين 28
In most modern programming languages, the highest subscript you should use with a 12-element array is ____________.
a. 10
b. 11
c. 12
d. 13
الحلول خطوة بخطوة
الخطوة 1 من4
An index is indicates the position of a certain item number in an array. It is also called subscript.
• In most modern programming languages, such as C++, Java, and Visual Basic, the first array element is accessed using subscript 0 and second array element is accessed using subscript 1, etc.
• Subscripts are always a sequence of integers in any array.
• For example, 11-element array uses subscripts 0 through 10. Here, the highest subscript is 10.
Hence, the option (a) is incorrect.
الخطوة 2 من 4
الخطوة 3 من 4
الخطوة 4 من 4
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
لماذا لم يعجبك هذا التمرين؟
أخرى 8 أحرف كحد أدنى و 255 حرفاً كحد أقصى
حرف 255