What is 'makefile' in C langauage? How it be useful? How to write a makefile to a particular program?
Answer Posted / 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 |
Post New Answer View All Answers
Why do we use namespace feature?
What should malloc(0) do?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
What is c token?
Why is c so popular?
Is c still used?
What is the heap in c?
Is c compiled or interpreted?
What are pointers?
What is double pointer in c?
What is the use of pointers in C?
What is the difference between struct and typedef struct in c?
What is the meaning of c in c language?
What is array of pointers to string?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.