Answer:
The correct option is;
Selecting the correct browser to use for the sites you want to visit
Explanation:
Censorship of information is the subduing of information based on the consideration of such information being harmful or inconvenient
Increased anonymity
Making an individual anonymous which is one of the capabilities of the internet, is seen as encouraging unethical behavior and promoting discussions which are deemed uncivil in a commonly shared space online.
Unauthorized sharing of copyrighted information
The sharing and distribution of copyrighted material is against the law but it is a common occurrence and in various formats online
Out of the given options, selecting the correct browser to use for the sites you want to visit is the one that is not a concern.
Yes it's important. It's like taking jotting down the ideas you have for a project, you don't want to forget anything, and these things help you keep track of what you want to do.
Answer would be false.
Answer:
#include <iostream>
using namespace std;
class Str{ ///baseclass
public :
string super_str;
string getStr()
{
return super_str;
}
void setStr(string String)
{
super_str=String;
}
};
class str : public Str{ //inheriting Str publicly
public :
string sub_str;
string getstr()
{
return sub_str;
}
void setstr(string String)
{
sub_str=String;
}
bool notstartswith()
{
int n=sub_str.length(); //to find length of substr
bool flag=false;
for(int i=0;i<n;i++) //Loop to check beginning of Str
{
if(super_str[i]!=sub_str[i])
{
flag=true;
break;
}
}
return flag;
}
};
int main()
{
str s; //object of subclass
s.setStr("Helloworld");
s.setstr("Hey");
if(s.notstartswith()==1) //checking if str is substring of Str
cout<<"Str does not start with str";
else
cout<<"Str starts with str";
return 0;
}
OUTPUT :
Str does not start with str
Explanation:
Above program is implemented the way as mentioned. for loop is being used to check the beginning of the str starts with substring or not.