Question: Objective In this challenge, you will write a program that concatenates two strings provided by arguments 1 and 2 Program Overview Create a function that

Objective
In this challenge, you will write a program that concatenates two strings provided by arguments 1 and 2
Program Overview
Create a function that concatenates 2 c-strings.
Pass arg1 and arg2 to the new function
Print out the concatenated strings
Steps to complete
Copy the string_length function from level 1, by using cat on the main.c from the prior level, which is located at ../01/main.c
Follow the CODE: instructions provided in main.c
Write a user test that tests the program's length function (user_tests/utest3.2.json)
To use a double quote in the test case, it must be escaped, "which is done like \"this\"."
Run /challenge/tester to get the flag

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!