

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions for submitting assignments, including file naming conventions and contact information. It also includes programming exercises for creating matrix functions, string functions, and interchanging odd and even elements in an array. Additionally, it provides a data set for calculating mean and standard deviation, and a palindrome checking function.
Typology: Exercises
1 / 3
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)