C++ : C++ Why can I initialize a static const char but not a static const double in a class definiti

Channel:
Subscribers:
76,400
Published on ● Video Link: https://www.youtube.com/watch?v=59dKRhctgUU



Duration: 1:40
0 views
0


C++ : C++ Why can I initialize a static const char but not a static const double in a class definition?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As promised, I'm going to share a hidden feature with you.
This is a YouTube's feature which works on Desktop.
First, Make sure the video is currently in playing mode.
Then, type the letters 'awesome' on the keyboard.
Your YouTube progress indicator will turn into a shimmering rainbow.

A short overview of who I am,
Hey, I'm known as Delphi.
I am at your disposal to help you with any questions you have.
C++ : C++ Why can I initialize a static const char but not a static const double in a class definition?
I am happy to answer more specific questions, so please feel free to comment or chat with me.
We encourage you to leave a comment below if you have an answer or insights on the answer.
Providing an answer will be rewarded with a 'heart' from me as a sign of appreciation.
char a C++ const but class static : in C++ Why I double definition? not can const static initialize a a