How to find the size of an integer array without using any inbuilt function?
int fun(int a[25],int ele) { int flag=0,i=0; while(a[i]!=NULL) { flag++; i++; } return flag; }
Aucun commentaire:
Enregistrer un commentaire