Recent questions in Programming and DS

0 votes
1 answer
91
Suppose A is a 12 by 9 incidence matrix from a connected (but unknown) graph with 9 nodes and 12 edges. The diagonal entries of $A^{T}.A$give the number of edges into eac...
0 votes
1 answer
92
What is the correct option for the blanks so that the program runs in the correct manner?I was getting the answer B
0 votes
1 answer
93
its output is 6??how?? // Online C++ compiler to run C++ program online#include <iostream>using namespace std;int main() { // Write int a=-3; a=-a-a+!a; cout<...
2 votes
1 answer
94
0 votes
1 answer
96
Consider a lower triangular matrix stored in row major order as p[-25 - - + 749][-25 - - - + 749] with base address = 6800, size of each element = 6 byte. Find the value ...
0 votes
2 answers
98
The Total Combinations Possible of Min heap with 8 Distinct elements are ?
2 votes
3 answers
101
1 votes
1 answer
102
if X and Y denote the no of 0,1 then the value of 2X + y is
2 votes
1 answer
103
0 votes
0 answers
104
3 votes
5 answers
105
Why is the output of the below program 36? int main(){ int a = 1; int b = ++a * ++a * ++a; printf("%d", b ); ​​​​ return 0; }
5 votes
2 answers
106
What will be the output of the following code? _______ #include <stdio.h int main(){ char val=250; int ans; ans= val+ !val + ~val + ++val; printf("%d", ans); return 0; }
3 votes
1 answer
110