That indeed is the first question that you should ask if you are very new to programming. While it makes sense to jump straight to C++, I recommend that you start with C first.
This is not to immediately master C programming but to get the basic correct in programming.
If you start first from C, you could learn variables and learn how to construct a function. If you first start with C++, you will have to dive in to learning creating Objects, constructing classes etc.
This is a lot more difficult if you have not learnt other programming languages such as PASCAL.