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 an identifier?
main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d",i); }
how to write palindrome program?
What is the difference between if else and switchstatement
What is the difference between a function and a method in c?
pgm in c to reverse string by word using array(god is love becomes love is god) (no additional array can used,space is only delimiter between words )
Should I learn data structures in c or python?
Why can’t constant values be used to define an array’s initial size?
Multiply an Integer Number by 2 Without Using Multiplication Operator
What is infinite loop?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
How do you view the path?