[go: up one dir, main page]

DEV Community

Susmita Dey
Susmita Dey

Posted on • Edited on

Getting Started With C Programming

What is C?

C is a general-purpose, procedural, middle-level programming language developed in 1972 by Dennis M. Ritchie at the Bell Telephone Laboratories to develop the UNIX operating system.

Where C is used?

C programming language is used in the following areas:-

  1. Operating System Design,
  2. Compiler Design,
  3. Text Editors,
  4. Handling Database,
  5. Interpreter, and many more.

Why learn C?

  1. Easy to learn
  2. It is well structured.
  3. It's syntax is similar to Java(if you're a Java programmer, then you'll understand).
  4. It can handle low-level activities.

Today we're gonna learn how to print hello world using C.

Source Code:-

#include <stdio.h>

int main()
{
    printf("Hello World");
    return 0;
}
Enter fullscreen mode Exit fullscreen mode

Output:-

Hello World
Enter fullscreen mode Exit fullscreen mode

So, this was pretty cool and simple.


Hope this helps you. Thank you for reading, and let's connect!

Thank you for reading my blog. Feel free to subscribe to my YouTube Channel and connect on LinkedIn or Twitter.
Also, feel free to support my work.😊

Top comments (2)

Collapse
 
pauljlucas profile image
Paul J. Lucas

You forgot the \n.

You don't explain anything, so it's not terribly useful.

Collapse
 
susmitadey profile image
Susmita Dey

Sorry, it was just an example for my YT videos like how to write blogs. I'm correcting everything and will write in a good way. I know I have missed many things here.
Till then kindly check out my other blogs and my YT channel:- bit.ly/3Hna0fq