How the C program can be compiled?

Answer Posted / priya

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 ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between printf and scanf in c?

1034


How do you print only part of a string?

805


What is sizeof c?

870


What does the c in ctime mean?

815


What are 'near' and 'far' pointers?

832


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1640


What is a null string in c?

826


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

917


all c language question

2193


What is a stream?

896


I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.

1732


Define Array of pointers.

861


What is page thrashing?

871


Why is #define used?

1037


What is const keyword in c?

967