Answer:
#include <iostream>
using namespace std;
void swap(int& m, int& n) /* passing by reference so that changes will be made in the original values.*/
{
int t=m;
m=n;
n=t;
}
int main()
{
int val1,val2;
cout<<"Enter the values"<<endl;
cin>>val1>>val2;
cout<<"Values before swap "<<val1<<" "<<val2<<endl;
swap(val1,val2);
//calling the function swap..
cout<<"Values after swap "<<val1<<" "<<val2<<endl;
return 0;
}
Explanation:
Created a function swap with 2 arguments m and n passed by reference.
Answer:
An assembler is a program that takes basic computer instructions and converts them into a pattern of bits that the computer's processor can use to perform its basic operations.
Answer:
192.168.0.0 / 255.255.255.192
Explanation:
Given:
As the network engineer, you are asked to design an IP subnet plan that calls for three subnets. The largest subnet needs a minimum of 52 hosts. Management requires that a single mask must be used throughout the Class C network.
Solution:
192.168.0.0 / 255.255.255.192 is a private IP network and mask that would meet the requirements.
Is this for a test, because someone else asked that like 5 seconds ago.