Recent questions in Programming and DS

1 votes
2 answers
143
3 votes
2 answers
145
#include<stdio.h>void main(){ char arr[]=”\0”; if(printf(“%s\n”,arr)) printf(“Nothing\n”); else printf(“Something\n”);} What is the output of...
0 votes
1 answer
146
0 votes
1 answer
147
S1 : An insertion in an AVL with n nodes requires O(n) rotations.answer is false in answer key,but is guess for 1 insetion its O(1).so for n it will be O(n).tell me if i ...
0 votes
1 answer
150
Convert the following infix expression to postfix and prefixA^B^C^D
14 votes
3 answers
151
Which one of the following sequences when stored in an array at locations $A , \ldots, A[10]$ forms a max-heap?$23,17,10,6,13,14,1,5,7,12$$23,17,14,7,13,10,1,5,6,12$$23,1...
18 votes
4 answers
153
1 votes
1 answer
158
#include <stdio.h int main() {int i,j,x;scanf("%d ",x);i=1;j=1;while(i<10){j=j*i;i=i+1;if(i==x) break;}return 0;}
0 votes
1 answer
159
is it ok to mark both and at least option in the case of MSQ, on my view in this question first option will always be true so marking the second is correct?
3 votes
1 answer
160