INTRODUCTION :-
Spares matrix has only 3 columns and (no. of non-zero elements + 1) rows. The position [0][0] represents number of rows. The position [0][1] represents number of columns. The position [0][2] represents number of non-zero elements. While column 1 after position [0][0] contains indices of rows, the column 2 after position [0][1] contains indices of columns and the column 2 after position [0][2] contains the non-zero elements. The program has three sub-tasks. Following three functions have to be performed:-
0 Comments
The program has six sub-tasks. Following operations on strings are performed:
1) Calculate the length of the string. 2) Copy the inputed string. 3) Concatenate two strings. 4) Reverse a string. 5) Compare two strings. 6) Check for sub string. The program has 6 functions, each performing one of the above operations. |
AuthorProf. Ketan Sanjay Desale Archives
April 2020
Categories |