Can I drive a rented golf cart on the street in Raleigh?

Only where state and local law allow it. In most places a standard golf cart is limited to private property and specially designated streets, while a street-legal low-speed vehicle can use roads with lower speed limits.
A low-speed vehicle has headlights, turn signals, mirrors, seat belts and a registration, and tops out around 25 mph. Ask the supplier which type you are renting, then check North Carolina law and Raleigh rules for where it can go. For events and private sites in Raleigh, a standard cart is usually all you need. Tell the supplier how many seats you need and whether you want gas or electric. People in and around Raleigh search for this about 140 times a month, the #4 most searched rental here.
Full guide: Golf Cart Rental