
Cathy S. answered 06/03/21
Expert Mandarin Teacher
Both Yuan C. and Yiran X. are correct, but the reason 之 is more elegant, more formal is because it comes from Classical Chinese, China's traditional literary language. Grammatically, the function of 之 in this sentence is exactly the same as 的 (though 之 also has other uses).