Home » C Programming » Control Instructions

Which of the following statements are correct about the below program? #include int main() { int n = 0, y = 1; y == 1? n=0 : n=1; if(n) printf("Yes\n"); else printf("No\n"); return 0; }

Correct Answer: Error: Lvalue required

← Previous Question Next Question→

More Questions from Control Instructions

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion