Read the article on the felt! ! !
Article Address: http://www.laruence.com/2019/03/01/4904.html
print is a grammatical structure (language constructs), he is not a function.
if (print("1\n") && print("2\n") && print("3\n") && print("4\n")) {
;
}
//输出4111而不是1234,想要输出1234,得这么写:
if ((print "1\n") && (print "2\n") && (print "3\n") && (print "4\n")) {
;
}
How to understand this:
Print is where the argument if expression, all return 1;
encounter operator, all should take the initiative parentheses "()" symbol on both sides of the operator at the time of writing code, or accidentally make a mistake.