2020校招4399游戏开发岗笔试客观题
时长:120分钟 总分:100分
124浏览 0人已完成答题
题型介绍
题型 | 单选题 | 简答题 |
---|---|---|
数量 | 10 | 2 |
在下面的程序段中,对x的赋值语句的频度为() For(k=1;k&lt=...
For(k=1;k<=n;k++) For(j=1;j<=n;j++) x=x+1
小明的游戏账号密码是一串8位数字,只记前面5个数字为38034。但他肯定,...
在一个长度为n的顺序表中向第i个元素(0&lti&lt=n+1)之前插...
设有以下函数 void fun(int n,char *s) {........
分析该题目后,运行该程序会出现什么样的结果? #include "cstd...
#include "cstdlib" #include"iostream" using namespace std void GetMemory(char* p) { p = (char*)malloc(100) } void Test1(void) { char* str = NULL GetMemory(str) strcpy(str,"helloword") printf(str) }
请问运行PrintString函数会有什么结果? char* GetMem...
char* GetMemory2(void) { char p[]="hello word" return p } void PrintString(void) { char* str = NULL str = GetMemory2() printf(str) }