Untitled

 avatar
unknown
plain_text
a year ago
221 B
2
Indexable
//passing arrays to function
#include <stdio.h>
#include <string.h>

void display(int n)
{

    printf("%d\t",n);
}
void main()
{
int num[]={12,34,56,78,90};
for(int i=0;i<5;i++){
    display(num[i]);
}
}
Editor is loading...
Leave a Comment