types of files created when executing a c program

8 views
Skip to first unread message

Neha

unread,
Feb 9, 2012, 10:48:17 PM2/9/12
to Knowledge Test
list all the types of files created when a C program is compiled and
executed and also specify the folder where they are created...

Moumita Laha

unread,
Feb 10, 2012, 1:46:28 AM2/10/12
to knowledge-...@googlegroups.com
Source Code - extention .c .Created where the file is saved in drive
Object File - extension .obj . Created in TC/bin
Binary Executables - extension .exe. Location can be specified
Batch file... i guess

Do Share the correct answers at last. ;)


Neha Porwal

unread,
Feb 12, 2012, 8:38:35 AM2/12/12
to knowledge-...@googlegroups.com
moumita,
i asked the files created when executing a C program....
the answer is executable file.....

object file is created during compilation.....

source code file is not included as a file when the program is executed.
at last there is batch file but there is a .bak file which the C editor creates for its use....

Moumita Laha

unread,
Feb 12, 2012, 11:02:29 AM2/12/12
to knowledge-...@googlegroups.com
neha,
for compilation & execution, both executable & object file should be needed right ?
(as per question.)
 
thanx for the answer :)

Himanshu Malpande

unread,
Feb 12, 2012, 11:16:35 AM2/12/12
to knowledge-...@googlegroups.com
batch file?! wow!! never heard of it...

Reply all
Reply to author
Forward
0 new messages