Recent questions in Programming and DS

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
0 votes
1 answer
111
How are two numbers(int) generally stored in computers ?
0 votes
2 answers
113
#include <stdio.h int main() { int x = -5, y = 8; x = x + y - (y = x); printf("%d", x * y); return 0; }what will be the o/p for this? and what is the logic?
1 votes
1 answer
115
Can an array store elements of different storage classes?
0 votes
1 answer
118
1 votes
1 answer
119
0 votes
0 answers
120
#includeint main(){ int x;char *ptr;x=622,100,101;printf("%d",(*(char *)&x)*(x%3));return 0; }In this question what is the meaning of “ *(char *)&x “ ? please ...