in c language !!
typedef struct{long restaurant_id;char restaurant_name[10];char description[120];double rate;char cuisine[30]; opening_year;long capacity;char city[30];char address[60];char owner[30];} RECORD_t, *RECORD;
RECORD delete (unsigned long restaurant_id, RECORD *restaurant_array, unsigned long *p_size){int rec;int index;// index <- find="" the="" index="" of="" the="" record="" with="" given="" restaurant_id="" in="" restaurant_array="" (i="">->if (index is valid)rec=restaurant_array[index];elserec=NULL;return rec;}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here