Answer:
Plastic container
Explanation:
because if we use iron it may rust and oil may also damage
In the C programming language, you can't determine the array size from the parameter, so you have to pass it in as an extra parameter. The solution could be:
#include <stdio.h>
void swaparrayends(int arr[], int nrElements)
{
int temp = arr[0];
arr[0] = arr[nrElements - 1];
arr[nrElements - 1] = temp;
}
void main()
{
int i;
int myArray[] = { 1,2,3,4,5 };
int nrElements = sizeof(myArray) / sizeof(myArray[0]);
swaparrayends(myArray, nrElements);
for (i = 0; i < nrElements; i++)
{
printf("%d ", myArray[i]);
}
getchar();
}
In higher languages like C# it becomes much simpler:
static void Main(string[] args)
{
int[] myArray = {1, 2, 3, 4, 5};
swaparrayends(myArray);
foreach (var el in myArray)
{
Console.Write(el + " ");
}
Console.ReadLine();
}
static void swaparrayends(int[] arr)
{
int temp = arr[0];
arr[0] = arr.Last();
arr[arr.Length - 1] = temp;
}
Answer:
A HUB
Explanation:
A hub can described as an hardware or network device use for multi purpose functions like connecting series of internet devices together there by making it possible for all devices to work or function together on a single network.
Hubs are classified into active hub, passive hub, and intelligent hub.
ACTIVE HUB: This type of hub boost the signals but can not perform calculations.
PASSIVE HUB: this type only send the signals but can not boost a signal.
INTELLIGENT HUB: it brings about the boosting of signals and also bring about packets to be analyzed.
Answer:
the bottom third
Explanation:
Check out the exampe below.
swim() would be an example of a method.