2 votes
1 answer
1
You have given a number such thatN = 1! + 2! +…………+58! now what is the reminder after dividing it by 56?
2 votes
2 answers
2
#include <stdio.h int gsum(int *a,int n) { if(n<=0) return 0; else { if(*a%2==0) return *a+gsum(a+1,n-1); else return *a-gsum(a+1,n-1); } } int main(void) { // your code ...
2 votes
1 answer
3
# include <stdio.h int main() { static int a[ ] ={90, 98, 99, 96, 84, 70}; static int *p[ ]={a+2, a+1, a, a+3, a+4, a+5}; static int S={p+4, p+5, p+1, p, p+2, p+3}; int ...
2 votes
3 answers
4
Please explain how perfect matching in given tree is 1?Why not 3 with edges ab,ce,df?
2 votes
3 answers
5
What is the chromatic number of following graphs?1)2)
2 votes
1 answer
6
Consider a relation R(A,B,C,D,E) with the following functional dependencies:ABC - DE andD - ABThe number of superkeys of R is:a) 2b) 7c) 10d) 12