Question
What is the output of this C code? int main() { int y = 0; if (1 |(y = 1)) printf("y is %d\n", y); else printf("%d\n", y); }
Answer: Option A
Was this answer helpful ?
None.
Was this answer helpful ?
Submit Solution