1.

What 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;
}

A. 12400
B. 12480
C. 12500
D. 12556
Answer» C. 12500


Discussion

No Comment Found