Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6. Which of the following correctly declares an array? a) int array[10] b) int array c) array(10): d) array array[10]: 7. What is the index

image text in transcribed
6. Which of the following correctly declares an array? a) int array[10] b) int array c) array(10): d) array array[10]: 7. What is the index number of the last element of a) 9 b) 8 c) 10 d) 7 8. Which of the following accesses the seventh element stored in array? a) array[6) b) array[7) c) array(7) d) array: 9. Everything defined at the program scope level (ie. outside functions and classes) is said to be- a) local scope b) regional scope c) global scope d) static scope 10. In a 2D array -myArray[4][5] which one of the following is true? a) row size = 4, column size 5 b) column size = 4, row size: 5 c) column size 4, row size = 0 d) column size 5, row size 0 11. What does your class can hold? a) data b) functions c) datatype only d) both a & b

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server T-SQL Recipes

Authors: David Dye, Jason Brimhall

4th Edition

1484200616, 9781484200612

More Books

Students also viewed these Databases questions

Question

What roles have these individuals played in your life?

Answered: 1 week ago