Showing posts with label C Language. Show all posts
Showing posts with label C Language. Show all posts

Thursday, 3 October 2013

Print Array in C Language

#include<stdio.h>
#include<stdlib.h>

void main()
{
 int aray[5]={1,2,3,4,5};

 printf("array element are =
 %d,%d,%d,%d,%d\n"
  ,aray[0],aray[1],aray[2], 
aray[3],aray[4]) ;

 system("pause");
  
}

Sunday, 15 September 2013

First Program in C , Hello World

#include<stdio.h>
#include<stdlib.h>

void main()
{
 printf("Hello World!\n");
 system("pause");
}