Most answered questions in Programming and DS

0 votes
0 answers
4861
0 votes
0 answers
4862
1 votes
0 answers
4863
What are the correct options?
1 votes
0 answers
4864
Output will be-int main(){ int a =0,b=1,c=3:*((a)?&b&:&a)=a ? b : c;printf("%d %d%d ", a,b,c);}
0 votes
0 answers
4865
0 votes
0 answers
4866
0 votes
0 answers
4867
include <stdio.h>int main(){ char *c[]={"abhi","abhishek","abhisheksing"}; printf("%s",(*(*(c+2)+7))); return 0;} What is the output?
0 votes
0 answers
4869
What will be output ?A. Abnormal Termination.B. Infinite loopC. Output wil be 65536D. NoneAns. D
0 votes
0 answers
4871
#include<stdio.h>void main(){ char c[]="abhishek"; for(int i=0;i<8;i++) {c[i]="a"; printf("%c",c[i]); } }What is the error in it?
4 votes
0 answers
4872
3 votes
0 answers
4873
The maximum number of edges possible with UDG of n nodes,when DFS call on any random node in the graph result in stack size of 5. i.e. 5 function calls present in stack s...
1 votes
0 answers
4875
#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);}What will be the outpu...
0 votes
0 answers
4876
GATE 2007 QUESTION(DOUBT)https://gateoverflow.in/3465/gate2007-it-32Guys in this question %c is there in printf.......and ans is 25.....but why the ASCII value of 25 is n...
1 votes
0 answers
4879
int fun(int n){int x=1,k;if(n==1) return x;for(k=1;k<n;++k)x=x+fun(k)*fun(n-k)return x;}return value of fun(5)??? how to solve this using tree method approach???
0 votes
0 answers
4880