Here is a C++ program to display array elements
SOURCE CODE OUTPUT
#include<iostream>
using namespace std;
int main()
{
int a[6]={65,41,23,85,74,65};
cout<<"Elements in array : ";
for(int i=0;i<6;i++)
cout<<a[i]<<" ";
return 0;
}
Any questions regarding to program
please write in comments.
No comments:
Post a Comment