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 functions are used for dynamic memory allocation in c language?

864


What is memcpy() function?

850


Why is c so powerful?

885


What is data structure in c language?

843


Explain what is a pragma?

799


How can I get random integers in a certain range?

796


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

911


Explain 'bus error'?

778


What is the method to save data in stack data structure type?

859


What is an identifier?

814


What is string function in c?

744


What is a null pointer in c?

840


What is the use of #define preprocessor in c?

827


What is the difference between variable declaration and variable definition in c?

813


How can I delete a file?

833