list the no of files created when c source file is compiled
Answers were Sorted based on User's Feedback
Answer / abhijeet kankani
Basically 4 files:
a).c (source code file)
b).obj(object file in which .i and .asm are also included)
c).exe
d).bak (backup)
Is This Answer Correct ? | 48 Yes | 3 No |
Answer / suman halder
a).i /* expanded source code generated by preprocessor */
b).asm /* code generated by the compiler */
c).obj /* code generated by the assembler */
d).bak
e).exe /* executable code generated after linking */
Is This Answer Correct ? | 13 Yes | 4 No |
Answer / rakesh
.cpp/.c // code
.i //after pre-prossesor
.obj // object file
.bak
.exe
Is This Answer Correct ? | 11 Yes | 3 No |
Answer / niket raj gahoi
there are 6 file created they are
1) .c
2) .i
3) .obj
4) .bak
5) .asm
6 .exe
Is This Answer Correct ? | 6 Yes | 4 No |
why r u join this company? give solid resons.
16 Answers IBM, Infosys, TCS,
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
Write a C program linear.c that creates a sequence of processes with a given length. By sequence it is meant that each created process has exactly one child. Let's look at some example outputs for the program. Here the entire process sequence consists of process 18181: Sara@dell:~/OSSS$ ./linear 1 Creating process sequence of length 1. 18181 begins the sequence. An example for a sequence of length three: Sara@dell:~/OSSS$ ./linear 3 Creating process sequence of length 3. 18233 begins the sequence. 18234 is child of 18233 18235 is child of 18234 ........ this is coad .... BUt i could not compleate it .....:( #include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <stdlib.h> int main(int argc, char *argv[]) { int N; pid_t pid; int cont; if (argc != 2) { printf("Wrong number of command-line parameters!\n"); return 1; } N = atoi(argv[1]); printf("Creating process sequence of length %d.\n",N); printf("%d begins the sequence.\n",getpid()); /* What I have to do next ?????? */ }
What is %d called in c?
What will the preprocessor do for a program?
WAP to accept basic salary of an employee? Calculate it HRA=25%,DA=30%,PF=30%&net salary display all contents?
6 Answers Finite Infotech, Lovely Professional University, Wipro,
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier.  Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed.  When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed.  Sequence of take-off is the sequence of addition to the waitlist
Why string is used in c?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
What is the use of bit field?
What are predefined functions in c?
Explain goto?