可main()的返回结构? [英] Can main() return structure?
本文介绍了可main()的返回结构?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在采访一个问题昨天有人问我能主
收益结构
?
我不知道任何一个可以请告诉我是有可能与否,如果是,为什么?
Yesterday in the interview one question was asked to me that can main
return struct
?
I have no idea can any one please tell me is it possible or not,if yes why?
推荐答案
主
只能返回一个 INT
价值在C(至少对于的托管实现的)。
main
can only return an int
value in C (at least for hosted implementations).
这篇关于可main()的返回结构?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文