Recent questions in Programming and DS

5 votes
1 answer
5121
Consider the following function:void f(int a) { if(a <= 0) return ; else{ printf("%d ",a); f(a-2); printf("%d ",a); f(a-3); } }The sum of all values printed by f(6) is __...
0 votes
1 answer
5122
0 votes
2 answers
5123
What does this mean?int *(*func())[] According to me , it means that its an array of pointers to functions which returns pointers of type int. Am I correct?
1 votes
2 answers
5127
0 votes
1 answer
5130
What will be the output of the following program assuming that parameter passing iscall by valueprocedure P{a, b, c}; begin a:=b:=3; b:b+1; c: a+a end; begin main P(a+b, ...
0 votes
1 answer
5133
describe in details
0 votes
1 answer
5134
total possible binary search trees with 3 nodes is:14 15 6 none
1 votes
2 answers
5135
3 votes
2 answers
5136
Find the $C$ statement which has a syntax error.If (z)For (a, b, c)While (a, b)None of these.
1 votes
1 answer
5137
1 votes
1 answer
5138
5 votes
2 answers
5139
Main(){int a [3] ={{{2,4},{7,8},{3,4}},{{2,2},{2,3},{3,4}}};Printf("%u",a);Printf("%u",*a);Printf("%u", a);Printf("%u", *a);Printf("%u",a+1);Printf("%u",*a+1);Printf("%...