Recent questions in Programming and DS

0 votes
1 answer
2441
Consider the following C program?The output of above program, when ‘short int take ‘2 B’ and character take 1 B to represent _________. (Assume memory storage follo...
3 votes
1 answer
2444
Maximum number of BFS traversals possible on a binary tree with height 3 ?
0 votes
1 answer
2445
0 votes
1 answer
2446
0 votes
1 answer
2447
0 votes
1 answer
2448
Is there any shortcut to solve the AckerMann function ?e.g. I want to find the value of A(3,1).https://en.wikipedia.org/wiki/Ackermann_function
0 votes
0 answers
2449
output ?
1 votes
1 answer
2450
Inorder successor maybe a an ancestor of the node.this statement is true or false.
0 votes
0 answers
2452
void printTwoNumbers( int k ) { if (k == 0) return; printf ( "%d ", k ); printTwoNumbers( k - 1 ); printf( “%d” , k );}Void main(){printTwoNumbers(3);}What i...
0 votes
2 answers
2453
Max no. of node in k-array tree when height 'h' is given The number of internal nodes in 3-ary tree of height 4 is: ___40 or 121 which one is right?
1 votes
1 answer
2455
0 votes
0 answers
2456
1 votes
1 answer
2458
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?