C
Programming and Technical
Category
Which one of the following option best denotes the pair of operators, which are used in finding the BINARY equivalent of an integer number?
[1] ==, >>, &&
[2] ==, >>, &
[3] =, >>, ||
[4] ==, <>, <
Read Solution (Total 2)
-
- 4th Option
- 8 years agoHelpfull: Yes(0) No(0)
- 2 because ,, && is not a binary operator in 1st option,, || is not binary operation in 3rd option ,, < is again not binary operation in 4th option so ,, ans is 2nd option.
- 8 years agoHelpfull: Yes(0) No(0)
C Other Question
[1] void pointer(void*)
[2] NULL pointer
[3] integer pointer(int *)
[4] Specific pointer according to the memory
allocated for specific type
What will be the output of the following C program?
#include
void main(void)
{
int a=5, b, c,d,e;
e= (b=++a) + (c=a++) + (d=++a) ;
printf("%d, %d, %d, %d, %d", a,b,c,d,e);
return 0;
}
[1] 4, 5, 2, 3
[2] 8, 6, 7, 1
[3] 4, 6, 9, 2
[4] 8, 6, 6, 7