Most answered questions in Programming and DS

0 votes
1 answer
1853
What will be the output of the following $\text{‘C’}$ program?void count(int n) { static int d = 1; printf(" %d", n); printf(" %d", d); d++; if (n>1) count (n - 1); p...
0 votes
1 answer
1854
Consider the following $\text{C}$ function :int f(int n) { static int i = 1; if (n = 5) return n; n=n + i;i++; return f(n); }The value returned by $\text{f}(1)$ is :$5$$...
2 votes
1 answer
1856
#include <stdio.h int main () { int i, j; int a [8] = {1, 2, 3, 4, 5, 6, 7, 8}; for(i = 0; i < 3; i++) { a[i] = a[i] + 1; i++; } i ; for (j = 7; j 4; j ) { int i = j/2; ...
0 votes
1 answer
1857
Hi, can anyone please suggest me an online site where I can run code in C and test how the code will act under bid endian environment?
0 votes
1 answer
1859
Someone please explain the login behind the explanation.
0 votes
1 answer
1860
Number of max heap possible with n distinct keys.