ALLInterview.com :: Home Page KalAajKal.com
 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                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
What compilation do?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What compilation do?
Answer
# 1
source code to obj
 
Is This Answer Correct ?    1 Yes 0 No
Guest
 
  Re: What compilation do?
Answer
# 2
compiler main work is to convert source code to target 
code ,means when we compile our program ,source code are 
converted into binary form (system understantable form)and 
then execute it to user understable form.
 
Is This Answer Correct ?    2 Yes 0 No
Mahendra Giri
 
 
 
  Re: What compilation do?
Answer
# 3
First pre-compilation, macros are sunstituted. Then at the 
time of compilation, source code is converted into object 
files (in other words, decoding to machine language) and 
the linker plays a major role in generating the output 
executables to perform the desired function.
 
Is This Answer Correct ?    0 Yes 0 No
Ananth Kumar
 
  Re: What compilation do?
Answer
# 4
Compilation (programming), translation of source code into
object code(binary format) by a compiler.
 
Is This Answer Correct ?    0 Yes 0 No
Sachin Tendulkar
 
  Re: What compilation do?
Answer
# 5
compilation refers to conveting source code(high level) 
into object code (machine code) by series of processes such 
as lexical analysis,parsing(syntactic),sematic 
analysis,optimization,preprocessor, code generation.
        compiler is a program mainly written in C itself 
for C compiler.

if u want 2 know more about this processes mail me at: 
fortuner4u@gmail.com
 
Is This Answer Correct ?    1 Yes 0 No
Deepu Chandran
 
  Re: What compilation do?
Answer
# 6
compiler main work is to convert source code to target 
code ,means when we compile our program ,source code are 
converted into binary form (system understantable form)and 
then execute it to user understable form.
 
Is This Answer Correct ?    0 Yes 0 No
Naveen
 
  Re: What compilation do?
Answer
# 7
Compilers Main work is to Coneverting Source code to Obj
(Machine code)
First it Check the Tokens, Syntex, Symentic Errors and if 
it find correct it convert. If not it generate error 
messege that shows on ur screen.
 
Is This Answer Correct ?    0 Yes 0 No
Aditya
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
Evaluate the following: int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; } for fn(7); 1) 10 2) 11 3) 1  6
5. What kind of sorting is this: SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,........n-1 2.[For each pass,get small value] min=i; repeat for j=i+1 to N do { if K[j]<k[min] min=j; } temp=K[i];K[i]=K[min];K[min]=temp; 3.[Sorted Values will be returned] A)Bubble Sort B)Quick Sort C)Selection Sort D)Merge Sort Accenture2
Main must be written as a.the first function in the program b.Second function in the program c.Last function in the program d.any where in the program TCS12
a 'c' program to tell that the set of three coordinates lie on a same line Persistent1
What is the difference between typeof(foo) and myFoo.GetType()?  1
Write a program to find the smallest and largest element in a given array in c language Microsoft3
will the program compile? int i; scanf(“%d”,i); printf(“%d”,i);  2
6)swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are yhe values x&y?  2
What is the memory allocated by the following definition ? int (*x)[10]; ADITI3
52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?  6
int i =10 main() { int i =20,n; for(n=0;n<=i;) { int i=10 i++; } printf("%d", i); HCL5
write a program to display the array elements in reverse order in c language  6
void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case TCS7
Write a routine that prints out a 2-D array in spiral order! Lucent1
what is compiler  5
a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6 TCS5
What kind of sorting is this? SORT (k,n) 1.[Loop on I Index] repeat thru step2 for i=1,2,........n-1 2.[For each pass,get small value] min=i; repeat for j=i+1 to N do { if K[j]<k[min] min=j; } temp=K[i];K[i]=K[min];K[min]=temp; 3.[Sorted Values will be returned] A)Bubble Sort B)Quick Sort C)Selection Sort D)Merge Sort Accenture3
fn f(x) { if(x<=0) return; else f(x-1)+x; } HCL3
is compiler do read the data line by line or not. ?? LG-Soft3
how to return 1000 variables from functio9n in c?plz give me code also  5
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com