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 are function pointers? Provide an example.
Determine if a number is a power of 2 at O(1).
what is c
How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal)
how to find out the biggest element (or any other operation) in an array which is dynamic. User need not to mention the array size while executing.
whenever a question is posted in a particular category in allinterview.com, Is there any facility to receive an indication mail. For eg: I need to receive an indication email, whenever a question is posted under the category “C Langauage”.
Explain what are its uses in c programming?
fn f(x) { if(x<=0) return; else f(x-1)+x; }
1.)how to find d most repeated word in a string? string ="how do you do"?? output should be do
1 Answers AAS, Nagarro, Vuram,
HOW TO SWAP TWO NOS IN ONE STEP?
Can true be a variable name in c?
What is Memory leakage ?