Is the code snippet given below wrong? [code] if(a=b) { Serial.print(“Yes”); } [/code]

Answer: A
Explanation: The above code is wrong since the if statement deals with conditional expressions only and not allocation statements. It is a control structure that allows the user to make basic decisions to control the flow of control of the program.
 

Tìm kiếm

Back
Top