Preview:
#include<stdio.h>
int main(){

    int myArray[5]={5,2,4,6,9};
    for(int i =0;i<5;i++){
        printf("value of this array is:%d\n",i,myArray[i]);
    }
return 0;
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter