Moderate

Which of the following keys is used to delete the character beneath the cursor ?

Correct answer: A. x

  • A. x
  • B. X
  • C. dd
  • D. D

Explanation

In vi command mode, `x` deletes the character at or beneath the cursor. Uppercase `X` deletes the character before the cursor, while `dd` deletes a whole line.

Last updated

Practise Software Development Lifecycle

423 free Software Development Lifecycle MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions