search
Log In

Answers by sandygate

3 votes
1
If a graph requires k different colors for its proper coloring, then chromatic number of the graph is (a) 1 (b) k (c) k-1 (d) k/2
answered Nov 17, 2018 in Others 81 views
0 votes
2
what is the value of z? #include <stdio.h> int main() { int a[]={3,5,6,4}; int z=0; for (int y=0;y<(sizeof(a)/sizeof int);y++) z=a[y]+value(a[y]); } int value(int *x) { static int count; while(*x) { count=count+*x&1; *x>>1 ; } }
answered Aug 24, 2018 in Programming 147 views
...