Answer:
The value of myArray2[index2] when index1 = 12 is 30
Explanation:
In the source code, the formula for myArray2[index2] is;
myArray2[index2] = index2 + index3 + myArray1[index1],
myArray1[index1] = index1 * 2,
index2 = index % 10 (equal to the remainder) and
index3 = index % 8
When index1 increases to 12 in the for-loop statement, the "myArray1[index1]" is equal to 24, index2 is equal to 2 and index3 is 4. The total sum is equal to 30 and assigned to "myArray2[index2]".
Answer:
The code is not dereferencing the pointers. You have to place an asterisk in front of the pointer to read the value the pointer points to.
Explanation:
So "if (str1 != str2)" must be "if (*str1 != *str2)".
likewise:
while (*str1 != 0 && *str2 != 0)
and
result = (*str1 == *str2);
Answer:
17.0
Explanation:
after first loop numA = 0.0 + 2 = 2.0
after second loop numA = 2.0 + 5 = 7.0
after third loop numA = 7 + 10 = 17.0
In Computer programming, a value type variable can be used to store a: value expression.
<h3>What is a variable?</h3>
A variable can be defined as any name which refers to a location in computer memory that is typically used for storing a value.
<h3>The two types of variable.</h3>
In Computer programming, there are two (2) types of variable and these include:
Generally, a value type variable can be used to store a <u>value expression</u> or a value of that type.
Read more on variable here: brainly.com/question/20264183
When you copy cells, cell references automatically adjust. But, when you move cells, cell references are not adjusted, and the contents of those cells and of any cells that point to them may be displayed as reference errors. In this case, you have to adjust the references manually.
If the selected copy area includes hidden cells, rows, or columns, Excel copies them. You may have to unhide data temporarily you don't want to include when you copy information.
Hope this helps! I'm not a computer genius though