Top

Discussion

Predict the output of following program.

#include 

int main()
{
    int x=10;
    
    x &= ~2;
    printf("x= %d",x);
    
    return 0;
}

 

  • A.x= 10
  • B.x= 8
  • C.x= 12
  • D.x= 0

Answer: B

No answer description available for this question.

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

Post your comment