Answer:
bool identicaltrees(Node* root1,Node* root2)//function of type boolean true if idenctical false if not.
{
if(root1==NULL&&root2==NULL)//both trees are null means identical.
return true;
if(roo1 && root2)
{
if(root1->data==root2->data)//condition for recursive call..
{
return (identicaltrees(root1->left,root2->right)&&identicaltrees(root1->right&&root2->right);
}
}
else
return false;
}
Explanation:
In this function it of type boolean returns true if both the trees are identical return false if not.First we are checking root node of both the trees if both are null then they are identical returning true.
If both root nodes are not null then checking their data.If data is same then recursively traversing on both trees and checking both trees.
else returning false.
Answer:
C. to provide online search capabilities
Explanation:
The first workable prototype of the Internet came in the late 1960s with the creation of ARPANET, or the Advanced Research Projects Agency Network. Originally funded by the U.S. Department of Defense, ARPANET used packet switching to allow multiple computers to communicate on a single network.
Option B is the correct answer, Employers have flexibility in choosing a fall protection system they believe will work best in a situation selected. It is the primary duty of employer to provide safety to its workers. Employers must setup a suitable protection system at workplace from falling off from overhead platforms and from elevated workstations during construction for safety of its employees.
Further Explanation:
⦁ Employer must ensure compliance to OSHA-Fall protection in construction.
⦁ Generally, fall protection must be ensured by deploying guardrail systems at the edge of construction sites, safety systems built by nets or personal fall arrest.
⦁ OSHA requires to built fall protection system irrespective of fall distance to make sure safety conditions for workers/ employees.
Answer details:
Grade: High School
Subject: Computer Science and Technology.
Learn More:
Fall protection and compliance to OSHA rules and regulations
brainly.com/question/8910167
Employer responsibility in providing fall protection
brainly.com/question/5872956
Key Words: Fall protection, OSHA, workplace safety, guardrail systems etc.
Image of guardrail as an example is attached.