simple program in C to print | HELLO WORLD | - Techstudents

simple program in C to print | HELLO WORLD |

Simple program to print "Hello world"


Hello friends how are all,
Now here learn to simple programe in C language. C language is easy to learn and understand.
Let's begin our 1st program.

Program No : 1

Code :
#include<stdio.h>
  Void main()
{
  printf("Hello world"); Printf : prints the words.
}

Output : Hello world

It easy my dear friends test your self one time and try to different words i mean sentences and your name etc.

Let us see one example program.  
Code :
#include<stdio.h>
  Void main()
{
  printf ("Shaik jeelan I love tech.");
}

Output : Shaik jeelan I love tech.

Its over cool its easy my dear friends.

One question 🤔  how to write new or next line in code

Let us know.
Code :
#include<stdio.h>
   Void main()
{
  printf("Shaik jeelan");
  printf("I love tech");
}

Output : Shaik jeelan I love tech

Ohh wait see here don't write like this.

Correct Code :
#include<stdio.h>
  Void main()
{
  printf("Shaik jeelan \n"); here guys \n means new line
  printf("I love tech");
}
Output : Shaik jeelan
                I love tech

Also read this Article to understand the structure of C language. 

Download here software turbo C 👉click here👈


I hope you my dear friends we are understood enough today next program will be upload in next article share this Article to friends to know the coding is easy to learn understand.....
Follow me...Thanks for visit us





simple program in C to print | HELLO WORLD | simple program in C to print | HELLO WORLD | Reviewed by Techstudents on December 26, 2018 Rating: 5

1 comment:

Powered by Blogger.