Platform-dependent. For example, with gcc:
gcc -Wall -W -pedantic -o foo.o -c foo.c
Your web-browser (MSIE, Firefox etc) is perfectly able to download any files.
Main Hard Drive
The source files take a longer time to compile, and reading and maintaining such programs is harder.
Sometimes, it is. Some implementations compile C++ code into C code, and then compile the C code.
No you can't. main() is the entry point of a C program where execution starts. Only a single main() can exist in a C program. A program with 2 mains wil not even compile successfully.
Not possible.
It is not possible. In C, any program must have at least one function to be able to compile and execute properly: the function main()
The c program starts with 'main' function because it's compiler is designed that way. so during the compile time, the compiler looks for main function and through that it binds all the other user defined functions.
With GCC.
The most important steps are these: 1. write the source files 2. compile them to object modules 3. link the executable 4. run the executable
Yes we can compile a c program using c++ compiler. Because c++ evolved from the c. c++ have some additional features beyond c. c++ support almost all concepts used in c.
Hello Frnd, As u say u want to Compile & Run Java Prog. for This if U have JAVA CREATOR then u can compile directly otherwise........ goto Start >run type "cmd" Press "Enter"after that goto C>java>bin> type for compile the prog. "javac PROG.NAME.java" Press "Enter" if Compile SuccessFully Type "java PROG.NAME" Press "Enter" For It This Is Must u save ur Prog. in the folder "bin" in java............. Hello Frnd, As u say u want to Compile & Run Java Prog. for This if U have JAVA CREATOR then u can compile directly otherwise........ goto Start >run type "cmd" Press "Enter"after that goto C>java>bin> type for compile the prog. "javac PROG.NAME.java" Press "Enter" if Compile SuccessFully Type "java PROG.NAME" Press "Enter" For It This Is Must u save ur Prog. in the folder "bin" in java.............