Hot questions in Programming and DS

0 votes
0 answers
1761
#include <stdio.h>int cou=0;int cal(int a,int b){ int c; cou++; if(b==3) return(a*a*a); else{ c=cal(a,b/3); return(c*c*c); }}int ma...
0 votes
0 answers
1762
How many binary min heap possible with element(1,2,3,4,5,6,7)?
0 votes
1 answer
1764
The ________ program combines the output of the compiler with various library functions to produce an executable image.
2 votes
1 answer
1765
1 votes
0 answers
1766
1 votes
2 answers
1768
2 votes
5 answers
1770
What is the output???
0 votes
2 answers
1771
How to find clique in a graph?
0 votes
0 answers
1772
#include<stdio.h int main() { char A[5][7][6]; char *p[5][7][6]; printf(“%d\t”,(unsigned)(A+1)-(unsigned)A); printf(“%d”,(unsigned)(p+1)-(unsigned)p); } OPTIONS:4...
0 votes
1 answer
1773
Can anyone explain answer is A
0 votes
2 answers
1774
I. A heap is always nearly complete tree.II. Worst case complexity of heapify operation is O( log n)III. Worst case complexity of build heap operation is O( n log n)a. I ...
0 votes
0 answers
1775
Time complexity of creating a balanced binary search tree as well as unbalanced search tree from inorder traversal and preorder traversals?
0 votes
0 answers
1776
0 votes
1 answer
1777
int main() { char *p="abc"; char *q="abc123"; while(*p++=*q++) printf("%c %c",*p,*q); }The Output is b bc c 1a 2b 3cHere explain how did 1a 2b 3c will come as at that tim...
0 votes
0 answers
1778
#include<stdio.h int code(int m){ if(m>0){ int i=1; for(;i<3;i++){ code(m-i); code(m-i-1); printf("GATE2019"); } } } int main() { code(4); return 0; }How many times GATE2...
0 votes
0 answers
1779
#include <stdio.h>int main(void) {int i=1;printf("%d%d%d",i++,i++,i);}how to evaluate this type of questions