Most viewed questions in Programming and DS

2 votes
0 answers
5101
0 votes
0 answers
5103
0 votes
1 answer
5104
If we take a 1-D array b[10] b is the pointer to 1st element of array because b has the address of 1st element of array...but sizeof(b) will give the size of whole array ...
1 votes
1 answer
5105
We are given a set of n distinct elements and an unlabelled binary tree with n nodes.how many ways can we populate the tree with the given set so that it becomes a BST01n...
0 votes
0 answers
5106
It took me hell a lot of time. Still cann't figure out question??
0 votes
0 answers
5107
0 votes
0 answers
5108
1) How many stacks are needed to implement a queue .2) How many queue are needed to implement a stack.
0 votes
1 answer
5109
What is the expected number of probes for an unsuccessful search for an open address hash table with 10000 slots containing 9800 entries?a)4b)10c)20d)50
1 votes
2 answers
5110
Data structure BST I thinks answer is 2 either ascending or descending
0 votes
1 answer
5112
How many TOKENS are there in the statement answer $=(5*q-p*p)/3$; ?$13$$12$$15$$14$
0 votes
1 answer
5113
0 votes
1 answer
5115
which of the permutation o/p can't be obtained using stack for the i/p sequence 1,2,3,4,5 in that order<a>1,2,3,4,5 <b>1,2,5,4,3<c>1,2,5,3,4 <d>1,2,4,5,3
1 votes
1 answer
5116
#include <stdio.h int main() { int i = -1; int x = (unsigned char)i; printf("%d", x); return 0; }output is 255 , but please explain how
1 votes
1 answer
5117
main( ){double x, d = 5.0;int y ;x = d * (x = 2.5/d);printf(“x=%lf\n”,x);x = d*(y=(int)2.5+1.5);printf("x=%lf y=%d\n",x,y);}What is output of above program?
1 votes
2 answers
5119
0 votes
1 answer
5120
Q. The expressions are evaluated ____________ according to the precedence of set operators.A. from left to rightB.from right to leftC.as per user defined specificationD.f...