Question: Please write it in C++ and the Important requirement. Important requirements for all questions: - No global variable is allowed to be declared and used.
Important requirements for all questions: - No global variable is allowed to be declared and used. Constants are ok. - Functions cannot use "cin" or "cout" unless it is explicitly permitted. It should make use of parameters and return value instead. "cin" and "cout" should be done in main0 or any testing functions - Multiple return statements in one function are not allowed. - The function cannot use the string class or string functions such as strlen. It should only manipulate C-string as an array of chars with NULL at the end. - Please clearly show how you test your functions with at least the provided test data 1. Write a function named "isInsideQuotes" that accepts a C-string (an array of characters terminating by a NULL character). It returns true if the first character and the last character in the array is a single quote character (') and none in between. Otherwise, it returns false. For example, the following C-strings will return true And the following C-strings will return false charn41=(,951,10)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
