Hot questions in Programming and DS

3 votes
1 answer
3481
0 votes
3 answers
3483
#include<stdio.h>int main(){ int a=10,b=20,c=30;c==a==b;Printf("%d%d%d",a,b,c);return0;}
0 votes
0 answers
3484
0 votes
0 answers
3485
Answer given is 132 but on geeks for geeks solution is http://www.geeksforgeeks.org/number-of-ways-to-traverse-an-n-ary-tree/. Which is correct
0 votes
0 answers
3486
what is complexity1)to convert infix to prefix 2) to convert infix to postfix 3)convert infix to prefix using stackplz someone tell?
1 votes
1 answer
3487
A tridiagonal matrix [-2..2,5..9] is stored in row major order with base address 301.what is the address of data [0][8] if nonzero elements are stored??
0 votes
0 answers
3488
Assume that a lower traingular matrix A[0.....n-1,0...n-1] is stored in a linear array B [0....1/2 n (n+1)-1] in row by row order for n=100 if A[0,0] is stored inB[0] whe...
3 votes
1 answer
3489
0 votes
2 answers
3492
consider the following declarations1.int a[5]={1,2,3,4,5};2.int *p=(int*) malloc(sizeof(int)*5);which is truea.statement 1 take less tym than statement 2 for execution.b....
0 votes
1 answer
3494
1 votes
1 answer
3496
In a hash table of size 6, currently the locations 0, 2, 4 and 5 are occupied. The probability of a new record going into location 1, with a hash function resolving colli...
0 votes
1 answer
3497
What is the output of the following C program? #include <stdio.h void main (void) { int shifty; shifty = 0570; shifty = shifty » 4; shifty = shifty « 6; printf("The val...
3 votes
1 answer
3498
5 votes
2 answers
3499
Convert following infix to prefix expressione^d-a*b^f/g+h*c/i+j-kExplain each step
1 votes
1 answer
3500
difference between #define and typedef ???please give logical answer not general answer