Answer:
Explanation:
Glycol dehydration is a liquid desiccant system for the removal of water from natural gas and natural gas liquids (NGL). It is the most common and economical means of water removal from these streams.[1] Glycols typically seen in industry include triethylene glycol (TEG), diethylene glycol (DEG), ethylene glycol (MEG), and tetraethylene glycol (TREG). TEG is the most commonly used glycol in industry.[1]
Answer:
a)
#include <iostream>
using namespace std;
int main() {
bool a,b,c;
cin>>a>>b;
if(a^b)//X-OR operator in C++.
c=true;
else
c=false;
cout<<c;
return 0;
}
b)
#include <iostream>
using namespace std;
int main() {
bool a,b,c,d;
cin>>a>>b>>c;
if((a^b)^c)//X-OR operator in C++.
d=true;
else
d=false;
cout<<d;
return 0;
}
Explanation:
The above written programs are in C++.There is an operator (^) called X-OR operator in C++.It returns true if the number of 1's are odd and returns false if the number of 1's are even.
In the if statement I have user X-OR operator(^) to find the result and storing the result in another boolean variable in both the questions.
Linus ss
Explanation:
The ss (socket statistics) command provides a lot of information by displaying details on socket activity. One way to get started, although this may be a bit overwhelming, is to use the ss -h (help) command to get a listing of the command's numerous options. Another is to try some of the more useful commands and get an idea what each of them can tell you.
One very useful command is the ss -s command. This command will show you some overall stats by transport type. In this output, we see stats for RAW, UDP, TCP, INET and FRAG sockets.