What is 'makefile' in C langauage? How it be useful? How to write a makefile to a particular program?
Answers were Sorted based on User's Feedback
Answer / sarmistha pattanaik
When we write C program in modular pattern, then generally
it consists of 3 parts, .h file which will contain all the
header info, main.c will contain the main function and one
more .c file which will contain all the function
definitions. In order to compile the two.c file it will
create object file with .o extention. It's a multi step
process. In order to avoid the steps, we can write all the
compiling statements in one file which is the makefile.
Is This Answer Correct ? | 2 Yes | 2 No |
What is the purpose of the preprocessor directive error?
How can you tell whether two strings are the same?
to get a line of text and count the number of vowels in it
What is strcpy() function?
What are loops in c?
Explain the meaning of keyword 'extern' in a function declaration.
what is difference between getchar,putchar functions and printf and scanf function? does putchar show output only when input given to it
1,1,5,17,61,217,?,?.
What's the difference between DELETE TABLE and TRUNCATE TABLE commands?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
Identify the operators that is not used with pointer a. && b. # c. * d. >>
How many keywords (reserve words) are in c?