I would suggest the answer would be both A and D, mail merge is used to specify different field for different recipients.
Answer:
There is no difference between ‘’ and “” string type in python. Both are used to hold the string or sequence of character in the python. triple """ """ can also use for the same.
Example:
str1 = "aeiou"
str2 = 'aeiou'
str3 =""" hello"""
print(type(str1), type(str2),type(str3))
<class 'str'> <class 'str'> <class 'str'>
Here all are used to hold string or sequence of character.
Answer:
1 and 4 are the correct answers.
Explanation:
Answer:
// A optimized school method based C++ program to check
// if a number is composite.
#include <bits/stdc++.h>
using namespace std;
bool isComposite(int n)
{
// Corner cases
if (n <= 1) return false;
if (n <= 3) return false;
// This is checked so that we can skip
// middle five numbers in below loop
if (n%2 == 0 || n%3 == 0) return true;
for (int i=5; i*i<=n; i=i+6)
if (n%i == 0 || n%(i+2) == 0)
return true;
return false;
}
// Driver Program to test above function
int main()
{
isComposite(11)? cout << " true\n": cout << " false\n";
isComposite(15)? cout << " true\n": cout << " false\n";
return 0;
}
Explanation: