Top

Discussion

What will be the output of the program ?

#include

int main()
{
    int i=4, j=8;
    printf("%d, %d, %d\n", i|j&j|i, i|j&&j|i, i^j);
    return 0;
}

 

  • A.4, 8, 0
  • B.1, 2, 1
  • C.12, 1, 12
  • D.0, 0, 0

Answer: C

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment