How many bytes are reserved for the array?
char cAr1[]="ABC"
Explanation
Since "ABCD" is a string literal, 4 bytes are reserved for an array.
3 for the characters 'A' 'B' 'C' and one for the null character '\0'.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по C++
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты