Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help in understanding this thoroughly and simply. For each photo there are two comments saying what does this program do? and what does

I need help in understanding this thoroughly and simply. For each photo there are two comments saying what does this program do? and what does this function do? I need these questions answered. And any extra information just to help me understand better is much appreciated but not mandatory thank you. image text in transcribed
image text in transcribed
1 Program a: What does this program do? / #include 4.11 void mystery!( char *s1, const char *s2 ); /* prototype */ 8 {char striel 80);/* create char array / 6 int main( void ) ] " create char array "/ 9char string2t 80 1; 10 create char array 12 printf ( "Enter two strings: ) 12 13 14 15 printf( " Enter two strings: scant( "%s%s" , mystery1( stringi, string2); printf("%s", string1 ); return e;V-indicates successful termination */ string1, string2 ); 16 17" end main / 18 19 What does this function do? " 20 void mystery1( char "s1, const char "s2) 21 while ( "s1 e) 23 s1+t; 24/" end while "/ 25 for ( ; "s1 *s2; s1++, s2++ ) { 6- 27 28 29 ; / empty statement / end function mysteryl / ) /" end for "/

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_2

Step: 3

blur-text-image_3

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

The Structure Of The Relational Database Model

Authors: Jan Paredaens ,Paul De Bra ,Marc Gyssens ,Dirk Van Gucht

1st Edition

3642699588, 978-3642699580

More Books

Students also viewed these Databases questions