--------------- main.m --------------- #import <Foundation/Foundation.h> int main() { // 定义并初始化字符数组 char str[] = { 'I' , ' ' , 'l' ,