1 Answer - Sort by: Date | Rating
Every C program begins with these statements:
#include < stdio. H >
int main()
The #include is necessary at the beginning of every program because it includes the Standard Input/ Output library in your program so that any input and output functions within the program can be performed.
The next statement is the main function “int main()”which indicates that the main body of the code is starting. When the execution of a program starts it starts from the line following the main function. The body of the code is enclosed in { } brackets and the code within these brackets is executed next and the execution continues according to the code in your program and performs any input, output or other functions.
#include < stdio. H >
int main()
The #include is necessary at the beginning of every program because it includes the Standard Input/ Output library in your program so that any input and output functions within the program can be performed.
The next statement is the main function “int main()”which indicates that the main body of the code is starting. When the execution of a program starts it starts from the line following the main function. The body of the code is enclosed in { } brackets and the code within these brackets is executed next and the execution continues according to the code in your program and performs any input, output or other functions.
0
0
- What Is Hierarchical Communication?
- What Are The Difference Between Front-end And Back-end Languages..? Can U Plz Give Some Examples Of Both..?
- Can I Do Initial Programming On Line?
- How Will You Use Monitors For Process Synchronization?
- Can School Loop Be Used?
- What Is An Example Of A String Base^?
- What Is An Event Horizon?
- Q. How Many Types Of Anomalies Are There In A RDBMS?
- Write A C# Application That Accept 2 Numbers And One Operator From The Keyboard And Display The Result?
- How Many Types Of Data Structures Are There?
- What Are The Differences Between Static Global Variables And Local Global Variables In JAVA Programming?
- What Is Entity Integrity?
- What Is Integrity Constraints?
- What Are The Risks Using Database?
- Write A Program To Display A String With An Embedded Quote:"Sachin Has Played A Game Of His Life"?
- Can Anyone Give Me The Code In C++ For Reversing A Linked Circular Queue Using Pointers?
- Create A Class Time And Its Data Members Are Hours,mins And Secs And Operator Overload +,-,==,!,>,?
- Write A Program In C To Find The Area Of Rectangle, Area Of Circle, Area Of Cube Using Overloading Function?
- How To Create Algorithm And Flowchart Of Fibonacci Series?
- What Is A Referential Anomaly?
- Why Java Is Popular In Market?
- What Does The Following Coe Print. Systemout.println("*")?
- How To Create A Java Program That Accepts 3 Numbers (num1, Num2, Num3) And Sort Them In Ascending And Descending Order?
- Who Is Dummy?
- What Are 3 Types Of Flow?

New Comment - Comments are editable for 5 min.