Report Bug

QusWhich command is used in Arduino to set 9th pin as output? Qus Arduino में 9वें पिन को आउटपुट के रूप में सेट करने के लिए किस कमांड का उपयोग किया जाता है?


A. int sensorPin=9
B. int sensorValue=9
C. pinMode(9, OUTPUT);
D. digitalWrite(9, HIGH);


Solution
C. pinMode(9, OUTPUT);



Explanation
pinMode() function is used to set the pin and mode. first parameter is Pin number and second is mode i.e. INPUT/OUTPUT
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