Data structure using c programs