contestada

Read the sentence. To play with matches is wrong. How does the infinitive function in the sentence? A. as an adjective B. as an adverb C. as a subject D. as a direct object