In this study, firstly we have studied the behavior of quark and strange quark matter for a (n + 2) -dimensional Friedmann-Robertson-Walker (FRW) universe which is homogeneous and isotropic in creation field (C-field) cosmology. Using the deceleration parameter two different exact solutions of the modified Einstein equations in C-field cosmology are obtained. In addition, we obtain exact solutions of the quark and strange quark matter for a (n + 2)-dimensional homogeneous and isotropic static Einstein universe (SEU) and a maximally symmetric de Sitter vacuum universe in four dimensions. Also, using. C = 0 in C-field theory, we get the SEU and de Sitter vacuum universes in Riemann geometry. Finally, some physical and kinematical quantities are discussed. (C) 2016 The Physical Society of the Republic of China (Taiwan). Published by Elsevier B.V. All rights reserved.