HTML & JS
#include<stdio.h>
void main()
{
   int a[]={4,67,89,2,6};
   int n=5;
   printf("The elements are:");
   for(int i=0;i<n;i++)
   {
      printf("%d\t",a[i]);
   }
}

Generated URL:

Output:

The elements are:4	67	89	2	6	
Report Bug