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 (2266)
 C++ interview questions  C++ Interview Questions (1121)
 VC++ interview questions  VC++ Interview Questions (342)
 Delphi interview questions  Delphi Interview Questions (510)
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions (652)
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 ?    2 Yes 2 No
Sarmistha Pattanaik
 
Answer
# 2
Can anybody give the makefile.c program, so that i can easily understand. 
Is This Answer Correct ?    1 Yes 2 No
Siva
 
 
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
Which weighs more, a gram of feathers or a gram of gold?   2
While compiling a c program,graphics header files are not including in my program..eg: <graphics.h>,what may be the problem...is there any environment settings exists.   2
how can we Declare a variable in c without defining it. TCS 1
what is void pointer?   2
different between overloading and overriding   3
how can write all 1to 100 prime numbers using for loop,if and break ? TCS 1
main() { char *ptr = "Ramco Systems"; (*ptr)++; printf("%s\n",ptr); ptr++; printf("%s\n",ptr); } Find the Outputs? CitiGroup 9
Prove or disprove P!=NP. Microsoft 5
please tell me the logic for this C program : INPUT (string):ABCD OUTPUT :BCDA CDAB DABC mphasis 2
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys. Subex 1
what is use of loop? Infosys 10
How to write a program for swapping two strings without using 3rd variable and without using string functions. iGate 7
 
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