Top

Discussion

Predict the output of following program.

#include 

int main()
{
 int a=10;
 int b=2;
 int c;
 
 c=(a & b);
 printf("c= %d",c);
 
 return 0;
}

 

  • A.c= 12
  • B.c= 10
  • C.c= 2
  • D.c= 0

Answer: C

No answer description available for this question.

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

Post your comment