(note that examples are in C++)
Firstly, it must be a constant. Because you can't do something like this:
int x = 5;
int arr[x];
Because x's value could change over time, which is why you get a compile error. If x was a constant, indicated by keyword 'const', then this would compile, as x's value could never change.
Secondly, and obviously, the size of the array must be greater than 0, as you can't have an array with zero or negative number of elements.
Answer:
B is the answer.. pls mark me as brainliest
ctrl+shift+down arrow
Explanation:
Answer:
I the domain already purchased?
Explanation:
Answer:
The statement to this question can be described as follows:
Statement:
if (intRow > = 1 && intRow < = 8)
{
lblCabin.Text= “First Class"; //if block that checks the given range and assign the value.
}
Explanation:
Description of the if block:
- In the above, If statement fist the value is check, that is it is in the range or not.
- To check its value an "intRow" variable is used, that checks the value is greater than equal to 1 and less than equal to 8, in between both condition AND operator, that executes when both conditions are true.
- Inside the if block a label "lblCabin" is used that assigns a value that is "First Class".