and produce the following output list:
(a) Alphabetical list of names, roll numbers and marks obtained.
(b) List sorted on roll numbers.
(c) List sorted on marks (rank-wise list)
2. Write a program to read two strings and compare them using the function strncmp ( )
and print a message that the first string is equal, less, or greater than the second one.
3. Write a program to read a line of text from the keyboard and print out the number of
occurrences of a given substring using the function strstr ( ).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here