Posts

Showing posts from December, 2021

Define a structure for Book containing details such as title, author, ISBN, Price etc. and then sort an array of structure Book following any standard algorithm on the basis of title as well as author.

Perform Linear Search and Binary Search on strings contained in a file.

Compare two text/data files and present the results.

Convert the file contents in Upper-case and Write Contents in an output file.

Read last n characters from a data file.

Additon of two numbers using command line arguments

Read a line from user and print the count of words as well as frequency count of all the letters occurring in it.

Perform various string related operations without using library functions like length, concatenation, comparison, append, insert, replace, delete, substring, case change, trimming, reversing etc.

Find out whether a matrix is sparse or not

Perform addition and subtraction of two matrices.

Compute sum of the array elements using pointers.

Perform stack operations using pointers