按字符串输出c[ ],请将程序填写完整。#include <;stdio.h>;int main(){char c[]="China";____return 0;}
举一反三
- 阅读下列程序,则执行后的结果为( )。#include "stdio.h"int main(){ int c[][4]={1,2,3,4,5,6,7,34,213,56,62,3,23,12,34,56};printf("%x,%x\n",c[2][2],*(*(c+1)+1));} A: 3E,6 B: 62,5 C: 56,5 D: 3e,6
- 阅读下列程序,则执行后的结果为( ). main( ) { int c[][4]={1,2,3,4,5,6,7,34,213,56,62,3,23,12,34,56}; printf("%x,%x ",c[2][2],*(*(c+1)+1)); }
- 定义字符数组char c[]={"China"};下列字符数组输出正确的语句是:
- 设有如下程序段 int a[2] = {0}; int b[] = {0, 0, 1}; char c[] = {"A
- char c[]="abc";do while(c[i+1]!='\0');printf("%d",i-1);能输出字符串c的长度值。