Recent questions tagged operators

1 votes
2 answers
2
I know the answer but need a good explanation for this question. Can anyone help. Thanks!
8 votes
1 answer
3
What will be the output?#include<stdio.h int g; int main() { static int a,b; int c=2,d; d = (a||(++b &&(c | ++g))); printf("%d",d); }$0$$3$$1$Garbage value
4 votes
1 answer
5
2 votes
1 answer
6
5 votes
1 answer
7
5 votes
1 answer
8
if (x != 0) a = b; else a = c;What of the following can functionally substitute the if-else statement given above? a = (!!x)*b || c; a = b || c; a = (x>0)? c : b; a = (!!...
3 votes
2 answers
9
7 votes
1 answer
10
Match the following expressions with the functions they are doing:$\begin{array}{|cc|cl|}\hline A. & \text{!(n & n-1)} &1.& \text{Sets the }{(d+1})^{th}\text{ bit from r...
0 votes
2 answers
11
To see more, click for the full list of questions or popular tags.