what is the size of char constant? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is the size of char constant?

16th Nov 2016, 7:26 AM
shivani parab
shivani parab - avatar
2 Answers
+ 4
in Java size of char is 2 bytes in "c" it is 1 byte
16th Nov 2016, 9:15 AM
sai chander
sai chander - avatar
+ 1
thanks Sai
16th Nov 2016, 9:17 AM
shivani parab
shivani parab - avatar