MCQ Answer

Which command used to print message on second line in LCD?

Which command used to print message on second line in LCD?

LCD में दूसरी लाइन पर मैसेज को प्रिंट करने के लिए किस कमांड का प्रयोग किया जाता है?
Topic : Building IoT Applications

A. Icd.getcursor(0,0);

B. Icd.setcursor(0,0);

C. Icd.getcursor(0,1);

D. Icd.setcursor(0,1);




Correct Answer is :

D. Icd.setcursor(0,1);



Explanation
<p><span style="font-size: 14px;">lcd.setCursor(column, row)</span></p><ul><li><span style="letter-spacing: 0.01rem;">column: horizontal position (0–15 for 16 columns)</span></li><li><span style="font-size: 14px;">row: vertical position (0 for the first line, 1 for the second line)</span></li></ul><p><span style="font-size: 14px;">lcd.print("text"): prints the text starting from the cursor position.</span></p>
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