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 difference between exit() and _exit() functions?
What are logical errors and how does it differ from syntax errors?
What are type modifiers in c?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
int i=~0; uint j=(uint)i; j++; printf(“%d”,j);
How can I allocate arrays or structures bigger than 64K?
What are data types in c language?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
how can u print a message without using any library function in c
How we can insert comments in a c program?
can you explain in brief what is "r+" mode in a file... i know that it si used to read and modify rhe existing content.... but explalanation about the file pointer in "r+" mode i wann to know???????????
What functions are used for dynamic memory allocation in c language?