@Cosmo Since the question relies heavily on the size of char, I think it's CRUCIAL to write at the very start of the explanation that char is 0-> 65536, and then you explain how these numbers work. Also you have a question that also uses numbers like here? Except they're considered a wrong answer there? Look into it pls
2023 Feb 16, 3:06:58 AM
@cdeneuve, can you specify please what is wrong exactly? We can improve it
2019 Mar 13, 12:58:35 PM
@StarkBjorn because "-1" not in the range of char. The range of char is: 0 to 65,536 (unsigned)
2019 Mar 13, 12:56:11 PM
There is no explanation in this question at least when you choose wrong answer
2018 Jan 2, 12:18:02 PM
@vimalpanchal char d=0*10000; is correct but char dd=0x10000; is not correct
2017 Jul 19, 7:21:27 AM
@vimalpanchal error: incompatible types: possible lossy conversion from int to char char d = 0x10000; ^ 1 error
2017 May 18, 12:03:28 AM
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать