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 (2264)
 C++ interview questions  C++ Interview Questions (1119)
 VC++ interview questions  VC++ Interview Questions (342)
 Delphi interview questions  Delphi Interview Questions (510)
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions (648)
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
 
What are the various topologies? Which one is the most secure?   2
There are 8 billiard balls, and one of them is slightly heavier, but the only way to tell was by putting it on a weighing scale against another. What's the fewest number of times you'd have to use the scale to find the heavier ball? TCS 5
find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); } TCS 10
write an algorithm and c program to add two 2x2 matrics   1
How to write the code of the program to swap two numbers with in one statement?   2
Write a program to produce the following output in c language? 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1   2
Diff: between this 2 classes in terms of memory class A { int i; char c; double d; }; class A { double d; int i; char c; }; How it is calculating? HCL 1
#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k. Facebook 2
wat are the two methods for swapping two numbers without using temp variable??   2
How can I increase the allowable number of simultaneously open files? ABC 1
Determine if a number is a power of 2 at O(1).   2
Please list all the unary and binary operators in C.   3
 
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