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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
How the C program can be compiled?
 Question Submitted By :: Leossk
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How the C program can be compiled?
Answer
# 1
after writing entire code first  compile the program using
alt+F9.Then look at the errors and warnings ,after all the
errors and warnings are rectified u can run the program by 
ctrl+F9.to watch the output go through the key alt+F5.
 
Is This Answer Correct ?    4 Yes 1 No
Guest
 
  Re: How the C program can be compiled?
Answer
# 2
alt+f8
 
Is This Answer Correct ?    1 Yes 4 No
Prajeesha.k
 
 
 
  Re: How the C program can be compiled?
Answer
# 3
In Linux $cc <filename.c>  
 
Is This Answer Correct ?    1 Yes 0 No
Babu
 
  Re: How the C program can be compiled?
Answer
# 4
We can compile program after writing code by pressing short 
key Alt+F9 or by going on the menu compile->compile
 
Is This Answer Correct ?    1 Yes 0 No
Mahendra Giri
 
  Re: How the C program can be compiled?
Answer
# 5
Do you want the commands for compilation of our code or how 
the code is compiling internally?
for commands for compilation  : (in Linux)
 $cc <filename.c>  

Process as fallows  :
Application Program --> preprocessor -->  Compiler --->  
linker ---> loader.
If you want more information please let me know on mail
 
Is This Answer Correct ?    3 Yes 0 No
Anilkumar927@gmail.com
 
  Re: How the C program can be compiled?
Answer
# 6
ALT+F9 IS THE WAY TO COMPILE.
 
Is This Answer Correct ?    1 Yes 0 No
Guna
 
  Re: How the C program can be compiled?
Answer
# 7
In windows C program is compiled by

Alt+F9

Under linux, the C compiler is gcc.
 
$Gcc filename.c

For compiling C with graphics application in ubuntu 

$G++ -lgraph filename.c
 
Is This Answer Correct ?    1 Yes 0 No
Priya
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
What is a far pointer?What is the utility?  2
Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod() Accenture1
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } CitiGroup4
which of the function operator cannot be over loaded a) <= b)?: c)== d)* HCL7
6. Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod() Accenture1
the operator for exponencation is a.** b.^ c.% d.not available TCS4
what is use#in c  3
what is dangling pointer? LG-Soft1
different between overloading and overriding  3
main() { clrscr(); } clrscr(); ME3
int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation. Global-Edge11
Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.  2
x=2,y=6,z=6 x=y==z; printf(%d",x) HCL8
can we print any string without using terminator? Infosys2
What's the difference between calloc() and malloc()?  3
Find string palindrome 10marks Honeywell5
who is the founder of c HP9
Write a program to remove the C comments(/* */) and C++ comments(//) from a file. The file should be declared in command line. Subex2
define function Assurgent4
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
 
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