Most viewed questions in Programming and DS

0 votes
2 answers
1891
a=4 and b=3printf("%d",a+++b);output.??My doubt is that we will read from left as a++ or as ++b.
3 votes
1 answer
1892
const int perplexed = 2; #define perplexed 3 main() { #ifdef perplexed #undef perplexed #define perplexed 4 #endif printf("%d",perplexed); }a. 0 b. 2 c. 4 d. none of the...
3 votes
1 answer
1893
1 votes
1 answer
1894
3 votes
1 answer
1896
0 votes
1 answer
1897
3 votes
2 answers
1898
I am getting a) as ans. Plz tell how C?
0 votes
1 answer
1899
0 votes
1 answer
1902
Consider three matrices A (10 × 100), B (100 × 5), C (5 × 50). What is total number of multiplications required?Your Answer:500Correct Answer: 7500 Status: incorrec...
2 votes
1 answer
1903
There has to be a general method in deriving equations based on RMO and CMO .Could any one explain me how to derive formula of RMO and CMO of important matrices likeUpper...
0 votes
0 answers
1904
1 votes
1 answer
1905
n=3;printf("%d %d",n++,++n);1) 3 5b) 4 5c) 4 4d) implementation dependent
8 votes
2 answers
1906
Ttotal number of BST's possible with 6 nodes numbered 1,2,3,4,5 and 6 having a height of 4 are ??
1 votes
1 answer
1907
#include <stdio.h>int main(void){ int i; char *p=(char *)&i; ++p; (*p)=2; printf("%d",i); return 0;}
0 votes
1 answer
1909
How to implement Priority queue using stack?What will be time complexity for Enqueue and Dequeue operations?Edit:- Updated the question clearly
1 votes
1 answer
1910
using Method : Fold shift , we can find keythen what use of Fold shift in Hashing