explain what function is trying to accomplish, give the output of the two puts() main () { string1 = " NOFLEXX425 " ; string2 ; unknown (& string1 , & string2 ); puts ( string1 ); puts ( string2 ); }...


explain what function is trying to accomplish, give the output of the two puts()


main ()
{
string1 = " NOFLEXX425 " ;
string2 ;
unknown (& string1 , & string2 );
puts ( string1 );
puts ( string2 );
}
unknown ( char * s1 , char * s2 )
{
i = 1;
while ( s1 is not a NULL )
{
if ( i % 2 is not 0)
{
* s2 = * s1 ;
s1 ++;
s2 ++;
}
else
{
s1 ++;
}
i ++;
}
}


explain what function is trying to accomplish, give the output of the two puts()



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here