牛逼
C语言 / VB编程/MCS-51单片的菜鸟,大虾们请加QQ:89306026大家一起学习探讨。
const char *str_tbl[] = { "Ya!Hello! how is this? %s\n", "junk/super", "WHAT%c%c%c %c%c %c !\n", "this", "beauty", "tool", "is", "sensitive", "CCCCCC" }; int main(int argc, char *argv[]) { int a=3, b = 5; printf(&str_tbl[0][a], &str_tbl[1][b]); printf(&str_tbl[2][a], str_tbl[3][1], str_tbl[4][2], str_tbl[5][0], str_tbl[6][0], str_tbl[7][3], str_tbl[8][4]); return 0; }1. 等价的代码,大家看一看就明白了