I believe it's 5 spaces for an indent. If that's incorrect plz forgive me lol.
Explanation:
The below code has been written in C language
void rotateright(int list[], int n)
{
int x = list[n-1]
int i;
for (i = n-1; i > 0; i--)
list[i] = list[i-1];
list[0] = x;
}
void rotateleft(int list[], int n)
{
int x = list[0]
int i;
for (i = 1; i < n-1 ; i++)
list[i] = list[i+1];
list[n-1] = x;
}
int main()
{
int list[] = {x1, x2, x3, ... x(n-1),xn}
int i;
int n = sizeof(list);
rotateright(list, n);
rotateleft(list, n);
return 0;
}
Explanation: It's something like siri. It's a machine or technology inside a phone or computer that gives you information to a question that you asked.
Answer: Console-Based
Explanation:
A console based application is an application that helps in facilitating the reading and the writing of the characters from a console.
It is vital in the provision of a simple user interface for the applications that requires little interaction. Since the application accepts input and displays a response to the user and cannot create a graphical interface for this application, then it's a console based application.
Answer:
Preamble
Explanation:
In the computer network , the ether-net is the frame of link layer protocol data. This frame is used ether net with physical layer of transport mechanism. The ether net frame is of different type.
- The ether-net II
- The Novel raw IEEE 802.3
- IEEE 802.2 LLC
- IEEE 802.2 SNAP
Each of the Ethernet frame started from Ether net header. It contains the source and the destination. The MAC address is called its first two address.