MCQ Answer

What does the setup() function in an Arduino sketch do?

What does the setup() function in an Arduino sketch do?

Arduino स्केच में सेटअप() फ़ंक्शन क्या करता है?
Topic : Building IoT Applications

A. Runs continuously in a loop एक लूप में लगातार चलता रहता है

B. Initializes variables and sets up configurations वेरिएबल प्रारंभ करता है और कॉन्फ़िगरेशन सेट करता है

C. Executes only when an error occurs कोई एरर होने पर ही एक्सक्यूट होता है

D. Used to include libraries लाइब्रेरीज को इन्क्लूड करने के लिए यूज़ किया जाता है




Correct Answer is :

B. Initializes variables and sets up configurations



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad