Question: 1) Write a C++ program to merge two arrays to third array. Input: A=[1,2,3,4,5] B=[6,1,7,8] Output: C-[1,2,3,4,5,6, 1,7,8] 2) Write a c++ program to
1) Write a C++ program to merge two arrays to third array. Input: A=[1,2,3,4,5] B=[6,1,7,8] Output: C-[1,2,3,4,5,6, 1,7,8] 2) Write a c++ program to check whether two matrices are equal or not. Two matrices are said to be equal if and only if they are of same size and they have equal corresponding entries. 1 2 3 1 2 3 [-] 4 5 6 7 8 9 456 1 2 3 4 5 6 789 789 Matrix A 3) Write a C++ program to add two matrices. 1+9 2+8 3+7 4+6 5+5 6+4 7+3 8+2 9+1 987 6 5 4 3 2 1 Matrix B = -[1 4) Write a C++ program to swap two integers using pointers. 10 10 10 10 10 10 10 10 10
Step by Step Solution
3.54 Rating (154 Votes )
There are 3 Steps involved in it
Certainly You have asked for C code examples for several operations Lets go through each one by one 1 Merge Two Arrays cpp include include int main st... View full answer
Get step-by-step solutions from verified subject matter experts
