1.

Which is the command to move the cursor to the beginning of line in mysql input editor?(a) Ctrl-E(b) Ctrl-D(c) Esc-a(d) Ctrl-AI had been asked this question by my school principal while I was bunking the class.This intriguing question originated from Using the Embedded Server Library in portion MySQL Programs Using C of MySQL

Answer»

Right ANSWER is (d) Ctrl-A

For EXPLANATION I would say: Control-A moves the CURSOR to the beginning of the LINE. Ctrl-E moves the cursor to the end of the line. Control-D deletes the character under the cursor whereas Esc-a is not valid.



Discussion

No Comment Found

Related InterviewSolutions