This category contains 1 post

Memory allocation and variables in C language

Program1 Program2 Program1 print out the string, program2 print out a piece of code is garbled. I remember when talked about learning C language, the string is treated as an array of characters to deal with. So character array name is equivalent to a pointer pointing to the first address. Both statements should return same … Continue reading