0
What is the difference between X and "X", when used as constants in C and describe their memory representation
C
4 Réponses
+ 1
Do you have a code related to this doubt? need more clarity on the context ...
+ 1
Alright thank you
0
Then I can only tell you this...
const int CI = X;
Stores value of <X>. <X> could have been defined earlier, by pre-processor directive or another `const` definition.
const char* CS = "X"
Stores a one character C-String constant literal.
Actually, that could be very wrong cause context is unclear.
- 1
Not really,