Single Choice Not Set

QWhat will be the output of the program?

#include<stdio.h>

int main()
{
    char c=48;
    int i, mask=01;
    for(i=1; i<=5; i++)
    {
        printf("%c", c|mask);
        mask = mask<<1;
    }
    return 0;
}

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

Choose the Best Option

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

  • A 12400
  • B 12480
  • C 12500
  • D 12556
Correct Answer

Explanation

Option B

Share This Question

Challenge a friend or share with your study group.