Write a c program to print the numbers using array initialisation.

#include<stdio.h>
#include<conio.h>
  main()
{
  int arr[5]={1,2,3,4,5];
  int i;
  clrscr();
  for(i=0;i<5;i++)
{
  printf("\n%d",arr[i]);
}
  return (0);
}

output:-
 i=1

 i=2
 i=3
 i=4
 i=5