Answered step by step
Verified Expert Solution
Question
1 Approved Answer
no Expected output? Question No. 2. (CLO - 3) (10 Marks) Write a C++ program that copies a char array/C-string stri to another char array
no Expected output?
Question No. 2. (CLO - 3) (10 Marks) Write a C++ program that copies a char array/C-string stri to another char array named str2. The copy should be done character by character. While copying characters, upper-case characters should be converted to lowercase and the lower case input characters to uppercase. Use two pointers to point to the both source and destination strings. Note: you have to do this tasks using pointers. Question No. 3. (CLO-3) (10 Marks) Write a program that reads a 2-D array named Dynamite of 5 rows and 5 columns from user and finds the sum of squares of all elements in this array and also output the right diagonal and check which is maximum number in the right diagonal the matrix and output its location also Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started