Concatenation of the two strings


Discuss the below:

Q1. Suppose f is a function that returns the result of reversing the string of symbols given as its input, and g is a function that returns the concatenation of the two strings given as its input. If x is the string abcd, what is returned by g(f(x),x)?

Q2. What ambiguity exists in the statement

X <-- 3 + 2 * 5

Solution Preview :

Prepared by a verified Expert
Theory of Computation: Concatenation of the two strings
Reference No:- TGS01933674

Now Priced at $20 (50% Discount)

Recommended (92%)

Rated (4.4/5)