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

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
Is there any restriction in how many arguments printf or scanf function can take? in which file in my c++ compiler i can see the code for implementation of these two functions??   4
What does the message "warning: macro replacement within a string literal" mean?   1
Find greatest of two numbers using macro Siemens 4
how can i get this by using for loop? * ** * **** * ****** Excel 3
name the language for writing c compiler? Microsoft 3
how to swap 2 numbers in a single statement?   2
what is the need for main function in c?   5
Program to simulate second clock   2
without a terminator how can we print a message in a printf () function. NIIT 7
Given a piece of code int x[10]; int *ab; ab=x; To access the 6th element of the array which of the following is incorrect? (A) *(x+5) (B) x[5] (C) ab[5] (D) *(*ab+5} . Oracle 2
What does a run-time "null pointer assignment" error mean?   2
triangle number finding program... HCL 1
 
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