#include int main ( void ) { char buf[ 8 ]; buf[ 0 ] = 'y'; buf[ 1 ] = 'e'; buf[ 2 ] = 's'; //违背1 printf ( "%s\n", buf ); return ( 0 ); }