嗨我是计算机科学专业的毕业生...... [英] hi i am a computer science graduate.....

查看:83
本文介绍了嗨我是计算机科学专业的毕业生......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨我知道c中main()的返回类型。

返回的地方......无论如何我们可以打印这个值。,

hi i wana know about the return type of main( ) in c.
where is it returned ... and can we print the value anyhow.,

推荐答案


嗨我知道c中main()的返回类型。

返回的地方..无论如何我们可以打印这个值。
hi i wana know about the return type of main( ) in c.
where is it returned ... and can we print the value anyhow.,



你好,


返回值返回给操作系统当你的程序完成时。

它用于表示出现了什么问题。


这个返回值对于像Linux / Unix中的Bash Scripting这样的东西非常有用你打电话给一个程序做某事,取决于它是否失败做某事。


欢迎使用脚本!


- Frinny

Hi there,

The return value is returned to the Operating System when your program finishes.
It is used to indicate if something went wrong.

This return value is very useful for stuff like Bash Scripting in Linux/Unix where you call on a program to do something and depending on whether or not it fails do something.

Welcome to the scripts!

-Frinny


要打印返回给操作系统的值,执行程序后你需要给出
To print the value which was returned to Operating System, After u execution of the program u need to give "


?命令在shell ..它将显示返回给OS的值。
?" command at shell.. it will show the value returned to OS.


这篇关于嗨我是计算机科学专业的毕业生......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆