大学MOOC 数据结构(南昌师范学院)1450844192 最新慕课完整章节测试答案
1-预备知识 [015021 18段]
第1讲-小测验
1、单选题:
以下各语言书写的代码可认为其功能是相同的。对于该代码,哪项判断是正确的?C/C++:#include <stdio.h>int hehe(){ printf("hehe"); hehe(); return 0;}int main(){ hehe(); return 0;}Java语言:public class Main{ public static int hehe() { System.out.println("hehe"); hehe(); return 0; } public static void main(String args[]) { hehe(); }}Python语言:def hehe(): print("hehe") hehe()&nb
剩余75%内容付费后可查看
