Question: Create a project with two files: holdmystring.S and mymain.c . The file holdmystring.S should contain a string called mystring. In mymain.c , a positive integer
Create a project with two files: holdmystring.S and mymain.c The file
holdmystring.S should contain a string called mystring. In mymain.c a positive
integer representing a position in the string will be sent to holdmystring.S The
holdmystring.S should return the character corresponding to the string's specified
position.
For example, if mystring is AcDYU and is sent from mymain.c
holdmystring.S should return A
mystring should only contain alphanumeric characters. It is assumed that the length
of mystring is unknown, and you must first find the length of it If the number sent
by mymain.c is greater than the length of mystring, holdmystring.S should return
a question mark.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
