Why is equal to china?

Users questions: chara [10] = "china"; Why is equivalent to china? I am a beginner, have not learned the array, would like to know ahead of time to stroll to see this chara [10] = "china";, suddenly do not understand how return is equal to china, please understand that the solution A
Experts answer:chara [10] = "china"; this is stated assignment. Mean, affirms that a char type array called a, the array length is 10. '=' Sign is not equal to number, but the assignment symbol, that is an array of a assignment to 'china'. '== 'This is equal to number. That statement can also be written as: chara [10]; ** simply stated a = "china"; ** simple assignment of specific process is to assign c character a [0], h character assigned to a [1], i characters assigned to a [2] ... ... and so, C and C + + array subscript starts at 0.
  • This information provided by the users.Thanks!