C output type question

Q.  C programming : Trace the output

int main()
{
    int a=12,b=39;
    printf ("%d",a&b);
    return 0;
}

- Published on 19 Oct 15

a. 468
b. 0
c. 4
d. None of the above.

ANSWER: 4

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)