Anuradha
asked

Expert
Palistha Singh answered
Hey! In programming, fixed values are values you write directly into your code — they don't change while the program runs. These are called literals.
For example:
5
→ an integer literal3.14
→ a floating-point (double) literal"Hello"
→ a string literal
They're called "fixed" because you're using them directly in your code, without assigning them to variables (yet).
Let me know if you want to see how to use them in a C++ program!
C++
This question was asked as part of the Learn C++ Basics course.