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 null string in c?

583


What does do in c?

604


Explain threaded binary trees?

670


what are the advantages of a macro over a function?

639


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

575






Why n++ execute faster than n+1 ?

1838


how to create duplicate link list using C???

2069


What will be the outcome of the following conditional statement if the value of variable s is 10?

755


How pointers are declared?

556


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

619


Can an array be an Ivalue?

657


What is the use of structure padding in c?

560


What is a double c?

584


How can I implement a delay, or time a users response, with sub-second resolution?

615


What is a lookup table in c?

622