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

A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

2041


What are compound statements?

876


How to implement a packet in C

2663


What is s in c?

856


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

868


Explain what are the standard predefined macros?

920


pierrot's divisor program using c or c++ code

1996


What is wrong with this program statement? void = 10;

1049


What is the role of && operator in a program code?

836


Write a program to print factorial of given number without using recursion?

810


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1752


What are structures and unions? State differencves between them.

885


How to throw some light on the b tree?

860


How do I use strcmp?

857


Is c call by value?

847