请分析下列程序。

intmain(){printf("Thisisinmainprogram");if(fork()==0)printf("Iaminchildprocess");elseprintf("Iaminparentprocess");}

程序正确运行后结果是

A、ThisisinmainprogramIaminchildprocessIaminparentprocess
B、ThisisinmainprogramIaminchildprocess
C、ThisisinmainprogramIaminparentprocess
D、ThisisinmainprogramIaminchildprocessThisisinmainprogramIam
查看答案
正确答案:

A

答案解析:

暂无解析

上一题
你可能感兴趣的试题

We_____knowledgefromourfamilies,schools,jobs,andthemassmedia

A、request
B、require
C、inquire
D、acquire

Whenapersonimmigratestoanothercountry,heshould_(conscious)adapthimselftothenewenvironment

Therediscoveryofthisspeciesofbirdsisoneofthemost___(ordinary)scientificfindingsinrecentyears.

市场运行制度规则体系的核心是()

A、国家制定价格管理的制度和规则
B、企业生产经营的制度和规则
C、产业结构调整的制度和规则
D、实现公平竞争的制度和规则

Whentheshiplostitsenginepower,thecrewfoundthemselvesatthe_________ofthewind.

A、rate
B、cost
C、moment
D、mercy
热门试题 更多>
相关题库更多>
网络工程师
数据库工程师
软件测试工程师
嵌入式系统开发工程师
试卷库
试题库