Untitled
Anonymous
plain_text
03/06/2024 3:08 AM
296 B
25
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