Recent activity in Programming and DS

0 votes
1 answer
2
0 votes
2 answers
8
1 votes
1 answer
12
int bar(int val){int x=0;while(val 0){x=x+bar(val -1);}return val;}Q: For bar(3) this function is supposed to be stuck in an infinite loop but I do not know how please c...
1 votes
2 answers
14
2 votes
1 answer
19
​​Consider the following $\mathrm{C}$ function definition.int f (int x, int y){ for (int i=0 ; i<y ; i++ ) { x= x + x + y; } return x; }Which of the following stateme...
7 votes
4 answers
28
The number of possible ordered trees with 3 nodes A, B, C is:(a) 16 (b) 12 (c) 6 (d) 10 what is ordered tree alignment?
To see more, click for all the questions in this category.