NIELIT O Level Exam

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

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

LCD पर दूसरी लाइन में संदेश प्रिंट करने के लिए किस command का उपयोग किया जाता है?

A. lcd.getcursor(0,0);

B. lcd.setcursor(0,0);

C. lcd.getcursor(0,1);

D. lcd.setcursor(0,1);




Correct Answer is :

D. lcd.setcursor(0,1);



Explanation
In a standard character LCD, row numbering begins from 0. Therefore, row 1 represents the second line, while column 0 is its first position.

Character LCD में row numbering 0 से शुरू होती है। इसलिए row 1 दूसरी लाइन को और column 0 उसके पहले स्थान को दर्शाता है।
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad