Paying with credit card vs. cash at a Restaurant. What is preferred?

Since I will not be carrying that much ZAR, will most restaurants accept card payment?