Single Choice Not Set

QWhat will be the output of the program?

#include<stdio.h>

int main()
{
    int i=32, j=0x20, k, l, m;
    k=i|j;
    l=i&j;
    m=k^l;
    printf("%d, %d, %d, %d, %d\n", i, j, k, l, m);
    return 0;
}

ID: #1192 Operators and Enums in C Language 1,292 views
Question Info
#1192Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 0, 0, 0, 0, 0
  • B 0, 32, 32, 32, 32
  • C 32, 32, 32, 32, 0
  • D 32, 32, 32, 32, 32
Correct Answer

Explanation

32, 32, 32, 32, 0

Share This Question

Challenge a friend or share with your study group.