//========================
//Program in C to display marks in array
//========================
#include<stdio.h>
void display(int);
int main()
{
int i;
int marks[]={11,10,20,95,98,50,98};
for(i=0;i<=6;i++)
display(marks[i]);
//return 0;
}
void display(int m)
{
printf("\n %d",m);
}
//Program in C to display marks in array
//========================
#include<stdio.h>
void display(int);
int main()
{
int i;
int marks[]={11,10,20,95,98,50,98};
for(i=0;i<=6;i++)
display(marks[i]);
//return 0;
}
void display(int m)
{
printf("\n %d",m);
}
No comments:
Post a Comment