We apply an equal-velocity quark combination model to study the production of light-flavor hadrons and single-charmed hadrons at midrapidity in pp collisions at √ s = 5.02 TeV. We find experimental data for pT spectra of Ω and φ exhibit a quark number scaling property, which is a clear signal for quark combination mechanism at hadronization. Experimental data of p , Λ, Ξ, Ω, φ and K * 0 are systematically described by the model. The non-monotonic pT dependence of Ω/φ ratio can be naturally explained using only combination mechanism and we find it is closely related to the concave/convex shape of the logarithm of strange quark pT spectrum. Using pT spectra of light-flavor quarks extracted from light-flavor hadrons and a charm quark distribution which is consistent with perturbative QCD calculations, the differential cross-sections of D 0,+ , D + s and Λ + c as the function of pT are systematically described. We predict the differential cross-sections of Ξ 0,+ cand Ω 0 c . The ratio Ξ 0,+ c /D 0 in our model is about 0.16 and Ω 0 c /D 0 is about 0.012 due to the cascade suppression of strangeness. In addition, ratios Ξ 0,+ c /D 0 and Ω 0 c /D 0 exhibit the non-monotonic dependence on pT in the low and intermediate pT range.