Make a structure named as Employee, containing two member variables name of type
char[] and salary of type float. Make an array dynamically querying the size from the
user to store the Employee. Input each Employee data from user and store it in this array.
Sort the Array with respect to the salary of the Employee. Finally display the output in
ascending order as follows:
Ali‟s Salary is: xxxxxx
Abc‟s Salay is: xxxxxx
Def‟s Salary is :xxxxxx
I HAVE EVERYTHING REQUIRED IN ABOVE QUESTION PROBLEM I AM FACING IS THAT AFTER ARRANGING DATA IN ASCENDING ORDER I GET RECORD ON 0TH LOCATION OF ARRAY ONLY OTHER IS SKIPPED AND GARBAGE VALUE IS DISPLAYED