That would be what is known as Spyware, a common form of this is known as a "Trojan Horse". This type of malware is typically latched on and hidden within files, such as when downloading a pirated version of a song, game, art-work, etc...
Answer:
// here is code in the C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main() {
// variable to store the input
int birth_month,birth_year;
cout<<"enter birth month:";
// read the birth month
cin>>birth_month;
cout<<"enter birth year:";
// read the birth year
cin>>birth_year;
// print the output
cout<<birth_month<<"/"<<birth_year<<endl;
return 0;
}
Explanation:
Declare two variables to store the birth month and birth year.Read the inputs from the user and assign it the variables.Print the birth month and year separated by a slash "/".
Output:
enter birth month:1
enter birth year:2000
1/2000
Answer:
False ( A )
Explanation:
The implementation is incorrect hence the return would be false and this is because : root.left is supposed to be NULL, root.right is supposed to be NULL and when these conditions are met then the Binary tree would be empty.
The condition for the above statement would be represented as
if( root.left = = null && root.right == null &&root.info == null)
return true;
else
return false;