文件名称:④测试程序testc如下:-操作系统os接口ppt
文件大小:1.38MB
文件格式:PPT
更新时间:2024-05-12 12:12:42
os接口
④测试程序(test.c)如下: #include #include _syscall1(int,addtotal,int, num) main() { int i,j; i=36; j=addtotal(i); printf(\"Total from 0 to %d is %d n\",i,j); } 运行结果 $gcc .test test.c $./test Total from 0 to 36 is 666