
1. Write C code for a program that creates a sparse array. Sparse array is a kind of array, which is, consists of Is and Os. uld enter number of values and s/he enters values in another a. User shou array named arir b. Each element in arr represents the index of sparse array named sparse. This indices should be 1 and others 0. For example: arr: sparse: 0 00