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 a far pointer in c?

570


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

617


a c code by using memory allocation for add ,multiply of sprase matrixes

2266


What are the valid places to have keyword “break”?

633


What is the heap?

642






What is d'n in c?

607


what are # pragma staments?

1601


Why is #define used?

764


What is the purpose of realloc()?

638


Which of these functions is safer to use : fgets(), gets()? Why?

609


What is character constants?

687


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

1557


What is a dynamic array in c?

567


Why should I prototype a function?

613


Difference between Shallow copy and Deep copy?

1548