C++ Constants/Literals and its types

preview_player
Показать описание
In this video we will watch the C++ Constants/Literals and its types.

Expressions with a constant value are known as constants.
Literals The most obvious type of constants are literals.They are used in a program's source code to express particular values.In earlier chapters, we used some to specify values for variables or to specify messages we wanted printed by our programs, such as when we wrote:
1
a = 5;
In this piece of code, the number 5 was a true constant.
There are four types of literals.

✓constants
✓integer
✓floating-point
✓characters, strings, Boolean, pointers, and user-definable literals are all types of numbers.

THANKS FOR WATCHING!

#wholeeducation
#education
#youtubegrowth
#youtubechannel
#c++
Рекомендации по теме