Which of the following is an example of a compound sentence?

A. Because the weather was so nice,we decided to take the day off from work.
B. There are five players on the court for each basketball team at any given
time:two guards, two forwards, and a center.
C.She bought me a guitar, I decided to learn how to play it.
D.Carl and Sara decided to go bowling and then out to dinner.
Answer :C
Am I correct

yes

There is no compound sentence in here unless you have a semicolon in place of the comma in sentence C.

yes after the word "guitar" is a comma

and (so)

No, you are not correct. The correct answer is D. "Carl and Sara decided to go bowling and then out to dinner." This is an example of a compound sentence because it consists of two independent clauses, "Carl and Sara decided to go bowling" and "then out to dinner," joined by the coordinating conjunction "and."

To determine if a sentence is compound, you can look for two independent clauses, which are complete sentences on their own, and see if they are joined by coordinating conjunctions (such as "and," "but," "or," etc.) or by a semicolon. In option C, "She bought me a guitar" and "I decided to learn how to play it" are two independent clauses, but they are not properly joined with a coordinating conjunction or a semicolon, so it is not a compound sentence.