NIELIT O Level Exam

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

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

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

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

lcd.setCursor(column, row)

  • column: horizontal position (0–15 for 16 columns)
  • row: vertical position (0 for the first line, 1 for the second line)

lcd.print("text"): prints the text starting from the cursor position.

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