Hot questions in Programming and DS

3 votes
2 answers
3041
1 votes
0 answers
3042
1 votes
0 answers
3043
2 votes
1 answer
3044
#include <stdio.h int main(){ float a=5.375; char *p; int i; p = (char*)&a; for(i=0; i<2; i++) printf("%x", (unsigned char)(p[i]^p[3-i])); retur...
2 votes
2 answers
3045
Please provide a step by step solution to this problem.Create an AVL tree for the nodes A,Z,B,C,X,D,E. The number of leaves in the resultant tree is____________.
2 votes
0 answers
3047
Consider the following code:The output for the above code is ______.
2 votes
0 answers
3049
1 votes
0 answers
3050
Consider below code My ans : mech,g,mech Given ans : mech,g,civilthird printf statement is somwhat confusing ..please explain
1 votes
0 answers
3051
1 votes
0 answers
3052
Choose the correct option, from the following:I) We can find the cycle in the graph using BFS.II) We can find the cycle in the graph using DFS.III)Both CorrectIV)Both wro...
2 votes
0 answers
3053
if i have statement like j = (i++ ) + ( ++i) ;which will execute first among (i++) and (++i)
2 votes
0 answers
3054
print 1 - print 15 and print 2 >print 15 ?given ans is 15 20 why 20?
2 votes
1 answer
3055
which code is true and what is output?1.if(a>c){if(b>c){S1;}S2;}2.if(a>c)if( b>c){S1;}S2;
3 votes
0 answers
3056
1 votes
1 answer
3057
2 votes
0 answers
3058
i think solution is wrong option b is correct dont need solution just confirm if i m right.
1 votes
0 answers
3059