How many bytes are reserved for the array?
char cAr1[]="ABC"
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'.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Sign Up Now
or Subscribe for future quizzes