The correct option is C 1920s
Growth of factory production in cities led to the formation of trade unions. The leaders of these unions were inspired by Marxism and this led to the formation of the Communist Party of India in the 1920s. Thus, by the time of Independence, socialism was a widely accepted idea in India.