Recent questions in Programming and DS

0 votes
0 answers
2462
#include<stdio.h>int main(){ int i = 4, ans; ans = ++i+ ++i + ++i; printf("%d\n", ans); return 0;}What is the output of this program ?
0 votes
1 answer
2463
1 votes
1 answer
2464
1 votes
1 answer
2465
The number of ways we can insert 11, 12, 13, 14, 15, 16, 17 in empty binary search tree such that resulting tree has the height of 6 = ___________ [height of a tree with ...
0 votes
2 answers
2466
What is the time complexity to insert a new Node in a singly circular linked list at Starting ? (Number of nodes in list = N)A. O(1)B. O(N)
6 votes
3 answers
2471
0 votes
2 answers
2473
0 votes
0 answers
2474
0 votes
1 answer
2476
2 votes
1 answer
2477
Let's consider we have a stack with three operations defined on it:: Push,Pop, PeekWe have to print "ABCACBA" using the above operations.Give the min no of operations for...
0 votes
0 answers
2478
R = { (x,y) ∈ z X z : x-y is even integer } is this reflexive how to prove and what this set is representing , z= set of integers
0 votes
0 answers
2480
a and &a are the same thing where a is array name? I am unable to understand diff between (a+1) and (&a+1) when assigned to a pointer #include <stdio.h>int main(){ in...