A: The smallest unit<span> of measurement used for measuring data is a bit. A single bit can have a value of either 0 or 1. It may contain a binary value (such as On/Off or True/False), but nothing more. Therefore, a byte, or eight bits, is used as the fundamental </span>unit<span> of measurement for data.</span>
C. Shift , you can control click to select one at a time
Answer:
I don't know if this is right output is {1,3}
Explanation:
I took this quiz and got A right.
Hop helps even though i'm kinda late.
You should really state what language you are using. I have produced your method in C#, and should be easily translatable in to any other language.
static void RotateRight<T>(T[] arr)
{
T temp = arr[arr.Length - 1];
for (int i = arr.Length - 1; i >= 0; i--)
{
if (i == 0)
arr[i] = temp;
else
arr[i] = arr[i - 1];
}
}