0
Is it frowned upon to declare char's this way
char a = "a"[0];
3 Answers
+ 9
It is bad practice
You can use single quotes to create character
Example char a = 'a';
+ 8
Why would you ever do that if you can just write char a = 'a';?
0
I was reading the tutorial about how char's could only be declared using single quotes and I thought I know another way. it was absurd I grant you that