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");
  
}

0 comments:

Post a Comment