data structures using step [initializeset istep repeat step while in step apply process to names[ [end of loopstep exit figure algorithm to process individual string from an array of strings by declaring the array nameswe allocate bytes but the actual memory occupied is bytes thuswe see that about half of the memory allocated is wasted figure shows an algorithm to process individual string from an array of strings in step we initialize the index variable to zero in step while loop is executed until all the strings in the array are accessed in step each individual string is processed programming examples write program to sort the names of students #include #include #include int main(char names[ ][ ]temp[ ]int injclrscr()printf("\ enter the number of students ")scanf("% "& )for( = ; < ; ++printf("\ enter the name of student % " + )gets(names[ ])for( = ; < ; ++for( = ; < - - ; ++if(strcmp(names[ ]names[ + ])> strcpy(tempnames[ ])strcpy(names[ ]names[ + ])strcpy(names[ + ]temp)printf("\ names of the students in alphabetical order are ")for( = ; < ; ++puts(names[ ])getch()return output enter the number of students enter the name of student goransh enter the name of student aditya enter the name of student sarthak names of the students in alphabetical order are aditya goransh sarthak write program to read multiple lines of text and then count the number of characterswordsand lines in the text #include