Yes, Maroc and Morocco are the exact same country.
The country is a constitutional monarchy in North Africa, bordered by the Atlantic Ocean, Mediterranean Sea, Algeria, and Western Sahara (disputed). Capital: Rabat. Largest city: Casablanca. The French name "Maroc" is ubiquitous in Francophone contexts (EU, AU, UN French docs, aviation codes, etc.).