Header Ads Widget

Ticker

6/recent/ticker-posts

"Hello World" in C language or Structure programming.

Hello world is basic or starting of C language for basic knowladge about how to write or start .

  here we use vodi main to define function


 /*Wap to print "hellow world/*

#include"stdio.h"

void main ()

{

      printf("hello world");

}

.









here we use  Code:Blocks for programming

some  defination :

vodi main(): to define function

printf: use to print output.


############BASIC  KEY WORDS USED IN C PROGRAMING FOR OUTPUT ##############


\n = it prints the given input in new line

syntax:("\n %d",a);

\t = it gives tab in it's place, it gives space 

for the output for example (it is a example) it changes to (    it is a example)

suntax:("\t %d",a);

comment for your queries.












Post a Comment

0 Comments