How to run c Program without using IDE of c.
means if program made in notepad.then how to compile by
command prompt.

Answer Posted / rajesh

compile
gcc filename.c
its create exe file is a.out
run
./a.out


ll gie output

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If the size of int data type is two bytes, what is the range of signed int data type?

596


What is the use of structure padding in c?

567


What is the difference between void main and main in c?

626


What is meant by high-order and low-order bytes?

658


what is the height of tree if leaf node is at level 3. please explain

1604






What are local variables c?

554


Explain what is the purpose of "extern" keyword in a function declaration?

625


What are valid operations on pointers?

672


What do you mean by invalid pointer arithmetic?

637


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

1986


What is the mean of function?

651


When should the volatile modifier be used?

689


What is s or c?

601


What are the different types of pointers used in c language?

614


What is sizeof int?

641