What is the output of the following program?
#include <stdio.h>  
int main()  
{  
   int arr[5]={1,2,3,4,5}; //an array consists of five integer values.  
   for(int i=0;i<5;i++)  
   {  
       printf("%d ",arr[i]);  
   }  
    return 0;  
}

Posted on by