Answer:
Check the explanation
Explanation:
Here is the program with function definition and two sample calls.
Code:
#include <iostream>
using namespace std;
//checkMe FUNCTION which takes values a, b and c
void checkMe(char &a, int &b, int &c)
{
//if sum of b and c is negative and a is 'n', b and c are set to 0, otherwise a is set to 'p'
if((b+c)<0 && a=='n')
{
b = 0;
c = 0;
}
else
{
a = 'p';
}
}
int main()
{
//first test case when else part is executed
char a = 'n';
int b = 5;
int c = 6;
checkMe(a, b, c);
cout<<a<<" "<<b<<" "<<c<<endl;
//second test case when if part is executed
a = 'n';
b = -4;
c = -5;
checkMe(a, b, c);
cout<<a<<" "<<b<<" "<<c<<endl;
return 0;
}
Kindly check the Output below:
Answer:
yes, the correctly marked bottom one is correct
Explanation:
Answer: it is 192.168.192.15
Explanation:
A /29 (255.255.255.248) has a block size of 8 in the fourth octet. This means the subnets are 0, 8, 16, 24, etc. 10 is in the 8 subnet. The next subnet is 16, so 15 is the broadcast address.
Since you are sitting in a coffee shop with your laptop computer and have connected to the internet through an unrestricted wi-fi connection,this type of wi-fi connection called hotspot.
<h3>What is the difference between hotspot and Wi-Fi?</h3>
WLAN is a wireless technology for local area networks (Local Area Networks). While the hotspot uses wifi to connect wireless devices to the internet. Without wifi, a hotspot does not exist. whereas wifi is used to generate a hotspot.
Because it uses your cell phone number to authenticate, a mobile hotspot is a secure network. You should be prompted to create a password on your phone, which you can later use on other devices to access the internet. As opposed to accessing free public Wi-Fi, a mobile hotspot is safer and more secure because of this.
Therefore, A hotspot is a physical site where users can connect to a wireless local area network (WLAN) with a router connected to an Internet service provider to access the Internet, generally using Wi-Fi.
Learn more about internet from
brainly.com/question/28078151
#SPJ1