Can a programmer not use the loop function at all in a code?

Thảo Justin

New member
Can a programmer not use the loop function at all in a code?
A. Yes
B. No
C. Yes, but it needs to be called at least once
D. Yes, but it needs to be commented out
 
Answer: A
Explanation: The loop function is a custom predefined function that was designed to execute code over and over again for the Arduino. However if a programmer can replicate that same functionality in his/her code without the use of the loop() function then there is compulsion for him/her to include the loop() function in the program.
 

Tìm kiếm

Back
Top