Answer:
D) save as
Explanation:
If you press save as it'll give you the option where to save to.
Answer:
int sum = 0;
for (int i = 1; i < 100; i += 2) {
sum += i * i;
}
printf("The sum of cubes is %d", sum);
/* Prints: The sum of cubes is 166650 */
Explanation:
If 1 should be excluded, let the for loop start at 3.
Answer:
This code is written in MATLAB.
function [result] = isPalindrome(array,length)
if length == 0 || length == 1 %if the array is empty or contains only one element, the array is a palindrome
result = 1;
else
for i = 1:length/2 %check all the elements forward and backward until the middle is reached
if array(i) ~= array(end+1-i)
result = 0;
return
end
end
result = 1;
end
Explanation: Please read the comments in the code. In MATLAB, Boolean values are 1 or 0 instead of True or False.
<span>Video Editor & Movie Maker App</span>
Answer:
The answer is "Option 2"
Explanation:
In the given question the answer is "array bounds checking", It Checks the limits by providing a way, that Specifies whether a value is inside those limits has been used. It is a variable, that falls into a given class or function called as an array index of array, that's why all option are wrong, that is explained as follows:
- In option 1, It uses provides security, that's why it is wrong.
- In option 3, It works on the bits, that's why it is not correct.
- In option 4, It uses two thing that is "array bound checks and sub-script of bond", that's why it is wrong.