Can the loop() function be called recursively?

Đăng Khánh

New member
Can the loop() function be called recursively?
A. Yes, it can be called recursively
B. No, it cannot be called recursively
C. Yes, it can be called recursively but only by the setup() function
D. Yes, it can be called recursively but only twice
 
Answer: A
Explanation: The Arduino Programming Language is a working subsystem of the C++ Programming Language. This allows for any function to be called recursively at any point in the program. Since the loop() function is a custom predefined function in the Arduino Ecosystem, it too has to follow that rule.
 

Tìm kiếm

Back
Top