D. each table must depend on the entire foreing key
Answer:
The answer is 1.Arc Consistency with Domain Splitting
Explanation:
in arc consistency with domain splitting If any of the domains is wiped out during the execution then no solution
Hence Option 1 is the correct answer
Answer:
Program source code found in explaination
Explanation:
Recursive int function of the asked question.;
int productOfOdds(int array[],int length) {
int product=1;
if(length==0)
return -1;
else if(length==1) {
if(array[length-1]%2!=0)
return array[length-1];
else
return 1;
}
else {
product=productOfOdds(array,--length);
if(array[length]%2!=0) {
product=product*array[length];
}
}
return product;
}