Usually the extension doesn't matter.
Google is most interested in providing the most relevant results for any specific query, so if a .cc domain is the most relevant, it will go first.
Search for 'asylum' on google, you will see theasylum.cc on front page, it's a pretty popular movie company.
It may be that Google will rank .com's higher if they match the exact search query, but then again they have stated there are at least 200 variables to how a domain gets ranked.
So it all depends on the other variables too (and nobody knows exactly all of them)
To my knowledge, domain name extension has nothing to do with your search engine ranking, and there is no valid data that shows .com gets more points than others. It's just that .com are the most fetched after extensions compared to others; but, other extensions like.net,.org, are also equally valuable as long as you provide relevant content to your consumers. If you look around you can find many websites that are quite popular and they do not have .com extensions.