Answer:
B. 1 6 3
Explanation:
Given function definition for calc:
void calc (int a, int& b)
{
int c;
c = a + 2;
a = a * 3;
b = c + a;
}
Function invocation:
x = 1;
y = 2;
z = 3;
calc(x, y);
cout << x << " " << y << " " << z << endl;
- Since x is passed by value, its value remains 1.
- y is passed by reference to the function calc(x,y);
Tracing the function execution:
c=3
a=3
b=c+a = 6;
But b actually corresponds to y. So y=6 after function call.
- Since z is not involved in function call, its value remain 3.
So output: 1 6 3
Answer:
1.enhace the speed and accuracy of work
2.Large historical data can be stored easily for future use.
3.Quick calculation and display of graphical and mathematical data.
An array data type is similar to the structure of a row in a database table.
Answer:
B. Replace the Bluetooth headset with a new pair.
Explanation:
Since all other mobile devices, after receiving the "corporate-wide" OS update, aren't having issues with pairing with Bluetooth headsets, we can safely conclude that the OS update isn't the issue.
To find out if the Bluetooth headset is not the culprit, we can try to pair the mobile device with a different headset. If it pairs correctly, then we can conclude that the old Bluetooth headset might have a fault, or it might need to be disconnected/forget from the device and paired gain.
Explanation:
These are the advantages of breaking up a single logical message into a number of fixed sized packets.
- When messages are broken into packets it increases the performance and also the reliability of the internet
- if there is an error in a single packet, this error is not going to affect the entire message.
- the efficiency of the communication line in the internet is improved.
- there is a reduction of traffic. Each packet in a single message can be transmitted through different routes.
- It reduces idleness as each packet can send from different program so each program has a service.