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 |
Do you know null pointer?
Write a C program to multiply tho numbers without using arithmetic operator (+, -, *, /).
int main() { int i=-1,j=-1;k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d%d%d%d%d",i,j,k,l,m); }
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
What is pointers in c with example?
how to find out the union of two character arrays?
what is use of malloc and calloc?
can we declare a variable in different scopes with different data types? answer in detail
Explain the use of function toupper() with and example code?
explain about storage of union elements.
what is data structure
what is c programing