The initial mass function (IMF) is one of the key parameters in astronomy. Since Salpeter\/s work, there have been many studies and most of them show the universality of the IMF. In order to study IMF of massive stars and the star formation history, we perform a BVR photometric survey of the SMC, chosen for its proximity and low metallicity. Together with spectroscopic data, we investigate the basic parameters of the SMC. Based on these parameters, we study the IMF and star formation history using the population synthesis techniques and Baysian statistics. According to model calculations, a continuous star formation model with an IMF slope of -1.6 offers the best representation of the SMC star.