

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Q.1 : take input 2 x2 matrix as input, and make the following functions using only pointers/Arrays i) Addition of two matrixes ii) Subtraction of two matrixes iii) Multiplication of two matrixes (using standard method) iv) check whither matrix is Null. (15 )
Q.2: Make the functions as mystrlength, mystrcpy Mystrlength: take char string as input & return the numbers of characters in that string Int* mystrlength (char*) { ….. …. Return …. } Mystrcpy: take two char strings as input & copy 1st^ string to another …e.g. mystrcpy (A,B) In this case B will copy in A. Void mystrcpy(char,char) { …………… ………………. } (10)