Answer:
// here is code in C.
#include <stdio.h>
// main function which take input from command line
int main(int argc, char** argv) {
// variables
int char_count = 0, i=0;
// string as char array
char inp_str[100] = "OXOXO";
//count total number of 'N's in command line argument
while(argv[1][i++] != '\0')
{
if(argv[1][i]=='N')
char_count++;
}
// find the length string
int l = 0;
while(inp_str[l] != '\0')
l++;
//reduce length of the string
l = l - char_count;
//set null char at index "l" so it will removes character after index "l"
inp_str[l] = '\0';
printf("%s\n", inp_str);
return 0;
}
Explanation:
Create a string as character array and initialize it with "OXOXO".After that count the number of "N" which come from the command line argument.Then find the length of input string.Reduce the length of string and set "null" at index "l" in the string.Then print the string.
Output:
OXO
<u>Command line argument:</u>
Answer:
The answer is "Pages Crawl Depth and 4".
Explanation:
The Crawl depth is the level, in which pages inside a site are indexed by a search engine. Page within the same website, which is directly linked with the web page has either a raster depths of 1 links.
- These pages are linked back, within the raster range of 1 site have a raster depths of 2 and many more.
- It is a site or subsites, where getting increasingly closely similar to a broader optical disks. It is best to ensure, that neither sites greater then 4 click is open.
Just wanna let you know I could be wrong but I think 4 passes