Every cat I’ve had during my life regulated their own food intake. The important bit is that they consistently have food available. Once they learn to trust that it’s always there they don’t over-eat.
They also get a pouch of wet food every evening. Although it is very important to them that they get this (my cat sits next to her bowl and starts staring at me with this “I’m not angry, just disappointed” look about half an hour before dinner time) they don’t even always finish all their wet food.
It kind of depends on the season how much they eat. In winter they empty their wet food bowls, in summer they eat about 70% and leave the rest.
Learning to program has little to do with learning a language. You need to learn how to think and solve problems in a certain way. You need to learn a bunch of theory that gives you a solid foundation to build upon.
Learning a new language, especially one as simple as C, is trivial. You pick whatever language best suits the problem you’re trying to solve.
If you’re looking to expand your programming skills I’d recommend picking up a language that is very different from what you are used to. Something that makes you think differently. For example: I think every programmer could benefit from playing around with a functional language like Haskell.