T
Tony!
char x='x';
Why not char x="x"; ?
I'm guessing double-quotes is incorrect because it signifies a string
value which is not implicitly carried into a char bacause it's a
smaller size and some data may be lost.
Guess what I'm wondering is the single quote used here merely for
proper syntax to just remember 'use it in this case', , or does the
single quote have some meaning that understanding may assist in making
better guesses as to when they should be used over double quotes.
Thanks,
Tony!
Why not char x="x"; ?
I'm guessing double-quotes is incorrect because it signifies a string
value which is not implicitly carried into a char bacause it's a
smaller size and some data may be lost.
Guess what I'm wondering is the single quote used here merely for
proper syntax to just remember 'use it in this case', , or does the
single quote have some meaning that understanding may assist in making
better guesses as to when they should be used over double quotes.
Thanks,
Tony!