Boil macaroni in salted water until soft; drain and rinse thoroughly under cold water.
Finely dice capsicum and carrot.
In a bowl, whisk mayonnaise, vinegar, sugar, black pepper, and salt until smooth.
Toss cold macaroni and diced vegetables into the dressing.
Chill in refrigerator for 30 minutes before serving.