Answer:
void delete_record(student_record *arr, int &size, int age, string name, double gpa) {
int index = -1;
if (arr != NULL && size > 0) {
for (int i = 0; i < size; ++i) {
if (arr[i].age == age && arr[i].name == name && arr[i].gpa == gpa) {
index = i;
break;
}
}
}
if (index != -1) {
for (int i = index; i < size - 1; ++i) {
arr[i] = arr[i + 1];
}
size--;
}
}
A computers CPU and the hard drive are found in the system unit. The correct answer is C. <span />
A destination port number at the transport layer identifies which software application on a computer should receive the data transmission: True.
<h3>What is the
transport layer?</h3>
The transport layer can be defined as one of the seven layers of the open systems interconnection (OSI) model and it is responsible for routing messages through an active computer network while selecting the best transmission path from the source to the destination device.
In Computer networking, a destination port number at the transport layer is saddled with the responsibility of identifying which software application on a computer should receive the data transmission.
Read more on transport layer here: brainly.com/question/26177113
#SPJ12
Answer:
The advantage of returning a structure type from a function when compared to returning a fundamental type is that
e. a and b only.
Explanation:
One advantage of returning a structure type from a function vis-a-vis returning a fundamental type is that the function can return multiple values. The second advantage is that the function can return can an object. This implies that a function in a structure type can be passed from one function to another.