Docsity

Assignment Instructions and Programming Exercises, Exercises of Advanced Computer Programming

Toggle sidebar
bg1
i. No late assignment will accepted after the due date.
ii. Submit your assignment in zip file named as Roll#_A1on the margala folder,
without debug folder.
iii. Feel free to contact me at waheed.akram@live.com.
iv. In all question you should take the input from the user except the questions
where I have given the input.
v. Copy case will get Zero.
vi. Write all programs in VC++ using Microsoft Visual Studio 2003.
Remember start working early.
docsity.com
pf3

Partial preview of the text

Download Assignment Instructions and Programming Exercises and more Exercises Advanced Computer Programming in PDF only on Docsity!

i. No late assignment will accepted after the due date.

ii. Submit your assignment in zip file named as Roll#_A1on the margala folder,

without debug folder.

iii. Feel free to contact me at [email protected].

iv. In all question you should take the input from the user except the questions

where I have given the input.

v. Copy case will get Zero.

vi. Write all programs in VC++ using Microsoft Visual Studio 2003.

Remember start working early.

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)