Question: 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 The code given below has some errors. Identify the errors and rewrite

// 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!