Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The code given below has some errors. Identify the errors and rewrite the program in the given space or upload the program Notepad file or

The code given below has some errors. Identify the errors and rewrite the program in the given space or upload the program Notepad file or program snapshot image text in transcribed
// to find the shortest length string #include inlcude int main(); {int L1, L2; Char s1[20]=" College Campus" char s2[20] ='University"; L1=strlen(81); L2=strlen(s2); if (L1==L2) printf(" String 1 and string2 are same") else print("String 1 and string 2 are not same "); }

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

Object Oriented Databases Prentice Hall International Series In Computer Science

Authors: John G. Hughes

1st Edition

0136298745, 978-0136298748

More Books

Students also viewed these Databases questions

Question

What are the challenges associated with tunneling in urban areas?

Answered: 1 week ago

Question

What are the main differences between rigid and flexible pavements?

Answered: 1 week ago

Question

What is the purpose of a retaining wall, and how is it designed?

Answered: 1 week ago

Question

How do you determine the load-bearing capacity of a soil?

Answered: 1 week ago

Question

what is Edward Lemieux effect / Anomeric effect ?

Answered: 1 week ago