Combine carrots, cabbage, pineapple and pineapple in a bowl. Mix mayonnaise, salt and pepper together. Add to salad mix. Serve