Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

1. What is meant by Latitudes? 2. What is cartography ?

Answered: 1 week ago

Question

What is order of reaction? Explain with example?

Answered: 1 week ago

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago