[单选题]

请读程序片段(字符串内没有空格字符):printf("%d/n",stlen("ATS/n012/1/ /”)); 上面程序片段的输出结果是 ( )

A.11

B.10

C.9

D.8

参考答案与解析:

相关试题

请读程序片段(字符串内没有空格字符):printf("%d\n",strlen(

[单选题]请读程序片段(字符串内没有空格字符): printf("%d/n",strlen("ATS/n012/1//"));上面程序片段的输出结果是_______。A.11B.10C.9D.8

  • 查看答案
  • 请读程序片段: int i=65536;printf("%d”\n”,i; 上面

    [单选题]请读程序片段: int i=65536;printf("%d”/n”,i; 上面程序片段的输出结果是 ( )A.65536B.0C.有语法错误,无输出结果D.-l

  • 查看答案
  • 若要求从键盘读人含有空格字符的字符串,应该使用函数()。

    [单选题]若要求从键盘读人含有空格字符的字符串,应该使用函数( )。A.getc()B.gets()C.getchar()D.scanf()

  • 查看答案
  • 有以下程序#include main (){ printf("%d\n", N

    [单选题]有以下程序include main (){ printf("%d/n", NULL); }A.0B.1C.£­1D.NULL没定义,出错有以下程序 #include <stdio .h> main () { printf("%d/n", NULL); }A.0B.1C.-1D.NULL没定义,出错

  • 查看答案
  • 以下能从字符串\"VisualBasic\"中直接取出子字符串\"Basic\"

    [单选题]以下能从字符串/"VisualBasic/"中直接取出子字符串/"Basic/"的函数是( )。A.LeftB.MidC.StringD.Instr

  • 查看答案
  • 有以下程序 #include main( ) { printf("%d\n",

    [单选题]有以下程序 include main( ) { printf("%d/n",NULL); } 程序运行后的输出结果是有以下程序#include <stdio.h>main( ){ printf("%d/n",NULL); }程序运行后的输出结果是A.0B.1C.-1D.NULL没定义,出错

  • 查看答案
  • 有以下程序#includemain(){printf("%d\n",NULL);

    [单选题]有以下程序includemain(){printf("%d/n",NULL);}程序运行后的输出结果是A.0B.1C.£­1D.N有以下程序 #include<stdio.h> main() {printf("%d/n",NULL);} 程序运行后的输出结果是A.0B.1C.-1D.NULL没定义,出错

  • 查看答案
  • 有以下程序:#includemain(){printf("%d\n",NULL)

    [单选题]有以下程序:includemain(){printf("%d/n",NULL));程序运行后的输出结果是()。A.0B.1C.£­有以下程序: #include<stdio.h> main() {printf("%d/n",NULL)); 程序运行后的输出结果是( )。A.0B.1C.-1D.NULL没定义,出错

  • 查看答案
  • 有以下程序:#includemain(){ printf("%d\n",NULL

    [单选题]有以下程序:includemain(){ printf("%d/n",NULL)"}程序运行后的输出结果是()。A.0B.1C.有以下程序: #include <stdio.h> main() { printf("%d/n",NULL)"} 程序运行后的输出结果是( )。A.0B.1C.-1D.NULL没定义,出错

  • 查看答案
  • 下列程序段输出的字符串长度为()。printf("\\aaa\'ccc\bddd

    [单选题]下列程序段输出的字符串长度为( )。 printf("//aaa/'ccc/bddd/'");A.11B.12C.13D.17

  • 查看答案