Top

Discussion

What will be the output of the program?

#include

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

 

  • A.12400
  • B.12480
  • C.12500
  • D.12556

Answer: B

No answer description available for this question.
 

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

Post your comment