home
Learn
screen_rotation
#include <stdio.h> #include <conio.h> void main(){ int arr[]={10,20,30,20,10,50,20}; clrscr(); printf("\n This is a 1-d array program."); printf("\n value of arr[1] = %d ",arr[1]); getch(); }
Program Output
This is a 1-d array program. value of arr[1] = 20