Computer Science, asked by ABAbhishek3040, 10 months ago

In the starement din days (7)as string wgat part of the aary does not rye number 7 referto

Answers

Answered by Ritiksuglan
0

Explanation:

In the statement, Dim Days(7) as String, what part of the array does the number 7 refer to?

[A] Array name

[B] Datatype

[C] Upperbound

[D] Lowerbound

Answer & Explanation

Answer: Option [C]

Answered by ravilaccs
0

Answer:

In the statement, Dim Days(7) as String, what part of the array does the number 7 refer to Upper Bound

Explanation:

  • DIM stands for "define," and it must be used when you need to declare a variable. When you use it, it notifies VBA that you are declaring a variable with a specified name and assigning it a specific data type. It can be used to say the following things:

Variables Variants Objects Arrays

  • A member variable or field is one that is declared at the module level, outside of any method. The scope of member variables extends across their class, structure, or module. A variable specified at the procedure level is referred to as a local variable. Local variables have no scope outside of its method or block.
  • You can declare a variable that will hold an array of values. To indicate that a variable contains an array, immediately follow its variable name with parentheses. See Arrays for additional information on arrays.
  • Each dimension of an array can have its lower and upper bounds specified. Include a bounds list within the parenthesis to do this. The bounds list sets the upper and possibly lower limits for each dimension. Whether you specify it or not, the lower bound is always zero. Each index can range from 0 to its upper bound value.
  • The following two statements are interchangeable. Each statement declares a 21-element array of Integers. When you access the array, the index can range between 0 and 20.
  • Dim totals(20) As Integer
  • Dim totals(0 To 20) As Integer

Reference Link

  • https://brainly.in/question/15768828
  • https://brainly.in/question/15747778

Similar questions
Math, 11 months ago