ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Programming Languages >> C
 
 


 

 
 C interview questions  C Interview Questions (2253)
 C++ interview questions  C++ Interview Questions (1111)
 VC++ interview questions  VC++ Interview Questions (342)
 Delphi interview questions  Delphi Interview Questions (510)
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions (646)
Question
What is 'makefile' in C langauage? How it be useful? How to write a makefile to a particular program?
 Question Submitted By :: C
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
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 ?    1 Yes 2 No
Sarmistha Pattanaik
 
Answer
# 2
Can anybody give the makefile.c program, so that i can easily understand. 
Is This Answer Correct ?    0 Yes 2 No
Siva
 
 
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
Can u return two values using return keyword? If yes, how? If no, why?   7
why in C,C++'s int size is 2 byte and .net(c#) int Size is 4 byte?   2
please tell me the logic for this C program : INPUT (string):ABCD OUTPUT :BCDA CDAB DABC mphasis 2
what is C? Syntel 9
what is c? Tech-Mahindra 7
How can I increase the allowable number of simultaneously open files? CSC 1
write a function that accepts an array A with n elements and array B with n-1 elements. Find the missing one in array B,with an optimized manner? Zensar 2
2. What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value Accenture 3
write c program without semicolon TCS 11
int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why? TCS 4
what is the output of the program and explain why?? #include<stdio.h> void main ( ) { int k=4,j=0: switch (k) { case 3; j=300; case 4: j=400: case 5: j=500; } printf (%d\n,j); } Oracle 14
what are bitwise shift operators?   4
 
For more C Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com