I am going over questions from tests from previous semester of what the test I am going to take might be like and one question I do not understand is this:
What is the output of the following code segment?
when I run it in the compiler, the answer is "Two." How do you interpret this because I do not understand how the answer is "Two?"Code:#include <stdio.h> int main(void); { int a=6, b=4; if (b = 0) printf("One\n"); else if (a = 2) printf("Two\n"); else if (a*b/5 > 4) printf("Three\n"); else printf("Four\n"); }