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

How can I direct output to the printer?

1078


What is difference between far and near pointers?

806


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

869


What is equivalent to ++i+++j?

868


the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset

878


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

1886


which type of aspect you want from the student.

1920


What is a union?

810


What is declaration and definition in c?

771


How would you obtain the current time and difference between two times?

998


How can I swap two values without using a temporary?

849


Explain what math functions are available for integers? For floating point?

862


What are the types of data structures in c?

839


Write a program to swap two numbers without using third variable?

1069


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

1735