Question: What is the operation done by the code below? #include using namespace std; void fon( char *s1, const char *s2 ) { for (int i=0;

 What is the operation done by the code below? #include using

What is the operation done by the code below? #include using namespace std; void fon( char *s1, const char *s2 ) { for (int i=0; (51[i]= *s2)!='\0';i++, s 2++); } void main() { char string1[30] ="Final"; char string2[30] = "Exam"; fcn( string2, stringi); }

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!