Notification texts go here Contact Us Buy Now!

3 | Basic Structure of a C Program

Basic Structure of a C Program

As we have seen from the last example, a C program requires a lot of lines even for a simple program.

If you feel intimidated by the program, DON'T! Because there is good news; we don't need to remember everything.

So, what should we remember to get started?

For now, just remember that every C program we will write will follow this structure:

#include <stdio.h> 

int main() {

  ...

  return 0;
}

And, we will write out code inside curly braces {}.

About the Author

Coding | Riding | Music, Embracing the beauty of code, the thrill of the ride, and the rhythm of life. Let's explore the journey together!

إرسال تعليق

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.
Code Copied!