Answer:
Port scan targeting 192.168.1.106.
Explanation:
In the following question, there is some part of the question and options is missing.
In the following statement, when a file log is taken from the computer system which has Internet Protocol address is given in the statement and by the further details of the statement in which time and the port destination by examine those details of the Internet Protocol, the following port scan targeting the IP address 192.168.1.106.
Answer:
First equation x=4
second equation x=3
Explanation:
The question is telling us that 'X' is equal to 8. It's another way of representing this number using X as the variable replacing it.
We input 8 instead of the X to solve the equation, and here in the picture, you can see where I went from there.
Do the same thing for the other equation.
I hope this helps :)
Answer:
true
Explanation:
I think that's what it has been in my time of classes
Explanation:
#include<iostream>
#include<string.h>
using namespace std;
char *removestring(char str[80])
{
int i,j,len;
len = strlen(str);
for( i = 0; i < len; i++)
{
if (str[i] == ' ')
{
for (j = i; j < len; j++)
str[j] = str[j+1];
len--;
}
}
return str;
}
int main ()
{
char str[80];
cout << "Enter a string : ";
cin.getline(str, 80);
strcpy(removestring(str), str);
cout << "Resultant string : " << str;
return 0;
}
In this program the input is obtained as an character array using getline(). Then it is passed to the user-defined function, then each character is analyzed and if space is found, then it is not copied.
C++ does not allow to return character array. So Character pointer is returned and the content is copied to the character array using "strcpy()". This is a built in function to copy pointer to array.