下列#include命令中,正确的是()
A: #inclue[string.h]
B: #include{string.h}
C: #include(string.h)
D: #include
A: #inclue[string.h]
B: #include{string.h}
C: #include(string.h)
D: #include
举一反三
- 如果程序中用到标准库函数sqrt( )和strcmp( ),那么该程序应含下面哪两条语句( ) A: B: include “stdio.h” C: include “math.h” D: E: include “math.h” F: incluede “string.h” G: H: include “string.h” I: include “stdio.h” J: K: include “stdlib.h” L: include ”math.h”
- 如果程序中需要用到数学函数,头文件应该表示为()。 A: B: include " system.h " C: D: include " math.h " E: F: include " stdio.h " G: H: include " string.h "
- 下列#include命令中,正确的是________。 A: B: include "math.h" C: D: include [math.h] E: F: include (math.h) G: H: include {math.h}
- 下列语句正确的有() A: <%@ include file=”head.jsp”%> B: <% String url=”head.jsp”;%><%@ include file=”url”%> C: <%@ include file=”head.jsp”?name=”lovo”%> D: <%String companyName=”lovo”;%>%@include file”head.jsp”?name=‟companyName”%
- #include<stdio.h>#include<string.h>voidmain(){chara[20],b[20];strcpy(a,"apple");strcpy(b,a);strcpy(a,"OK");puts(a);}(5.0分)