how 2 compile & execute c program with out using editor?

Answer Posted / sam

compling c executing c program without editor is similar to
that of Java program.
we just have to set the path to TC to the PATH environment
variable.
then using the TCC command we can execute the C program.....
EG: TCC sam.c //Compilation
sam //Execution

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we compile a program without main() function?

621


What is #include conio h?

581


When should the const modifier be used?

648


In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]

1948


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

543






How to write c functions that modify head pointer of a linked list?

532


Is a house a mass structure?

633


How do you print only part of a string?

602


can we have joblib in a proc ?

1645


What is structure packing in c?

593


When was c language developed?

687


What are preprocessor directives?

662


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

576


Why do we use header files in c?

569


What is d'n in c?

622