Question: Add a test to test the output of the function length. Note the Steps: ( 1 ) Use the string created returned from the function

Add a test to test the output of the function length. Note the Steps: (1) Use the string
created returned from the function create. (2) Test the string length using the function
length. (3) print the result.
data
title: asciiz "'n dynamic allocation of memory exercise in"
str1: .asciiz "this is a string 1."
str2: .asciiz" "here is the string 2."
Add a test to test the output of the function

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 Programming Questions!