Is it useful for beginners to learn C language by memorizing programs?
It is not necessary to memorize, but some games should be mastered skillfully. Snakes and other small games are very classic. Just like you study mathematics and physics at school, the teacher will definitely let you master some examples and let you practice several times. However, no teacher will make you memorize examples. How many times do you copy the examples to make you memorize the standard problem-solving format in the book so that you can encounter similar problems. There are some very classic programs that are "examples" when you are a beginner. It is necessary for beginners to master several classic examples, but one thing is certain: the programs made by others will never have great promise! After studying for a period of time, try to write your own program instead of reciting others' programs.