1.

For compiling a C program without leaving the editor, which command will be used?(a) cc %(b) :! Cc(c) :!cc %(d) :!cThe question was posed to me during an online interview.Enquiry is from Customizing Vi Editor topic in chapter Advanced Vi of Unix

Answer»

The correct answer is (C) :!cc %

Best explanation: vi provides US with a feature of compiling a C program WITHOUT leaving the editor by using the :!cc % command.



Discussion

No Comment Found

Related InterviewSolutions