Introduction to C interview questions


Total available count: 20
Subject - Programming Languages
Subsubject - Introduction to C

How to execute a program in MS DOS environment?

To compile the program welcome.c in MS-DOS environment, we must type the following at the command prompt.

MSC welcome.c

On doing so, the object code is stored in a file named welcome.obj. The linking is done by the command,

LINK welcome.obj

which generates the executable code in a file named welcome.exe. Finally, to execute the program welcome.c, we have to simply type the following at the command prompt.

welcome

 




Next 5 interview question(s)

1
Steps to run a 'C' Program?
2
Types of Errors?
3
What are Advantages of 'C'?
4
What are Applications of 'C'?
5
What are Disadvantages of 'C'?


Comments